- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 08-12-2009 11:31 AM
(1998 views)
Has anyone been able to successfully save a Canadian census data file from the Beyond 20-20 browser and import it into SAS Enterprise Guide?
9 REPLIES 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Did some Google searches on phrases:
+export +data +"Beyond 20/20" (or maybe +B2020?)
and found that the data can be exported using FILE and SAVE_AS technique. I expect there is a suitable "delimited" format that is compatible with SAS.
Scott Barry
SBBWorks, Inc.
+export +data +"Beyond 20/20" (or maybe +B2020?)
and found that the data can be exported using FILE and SAVE_AS technique. I expect there is a suitable "delimited" format that is compatible with SAS.
Scott Barry
SBBWorks, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hello Scott,
The problem is that Beyond 20-20 has both variable names and data full of commas and CSV is the only format that SAS will import from the browser. SAS naturally gets very confused by this.
I'm trying to find someone who has done this sucessfully in the event that there is an easy way to do it (rather than renaming all of the column headings).
The problem is that Beyond 20-20 has both variable names and data full of commas and CSV is the only format that SAS will import from the browser. SAS naturally gets very confused by this.
I'm trying to find someone who has done this sucessfully in the event that there is an easy way to do it (rather than renaming all of the column headings).
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Can you be more specific about the exported data? Exactly which option for SAVE_AS did you choose, and also what options are available for you to choose from?
Scott Barry
SBBWorks, Inc.
Scott Barry
SBBWorks, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Also, from scanning Internet references on exporting B2020 data, it appears that "*.dbf" (dBase) is a popular format and there are some restrictions for other exported-data formats. Using the SAS support website http://support.sas.com/ I found this link with a sample for importing DBF format data:
http://ftp.sas.com/techsup/download/sample/unix/access/pcff/proc_import_dbf.html
Scott Barry
SBBWorks, Inc.
http://ftp.sas.com/techsup/download/sample/unix/access/pcff/proc_import_dbf.html
Scott Barry
SBBWorks, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
We actually tried every single "save as" option available and got varying results. The biggest problem is that SAS does not like the variable names (some very long with many symbols) from 20-20. The file type they suggested was the *.csv. We've had some success viewing this in other programs but cannot get SAS to accept it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Frankly, it's just data - yes, there are SAS system limitations (most of which can be addressed, if explained).
Suggest you share some examples of the various formats encountered along with whatever SAS code you have tried, and see what feedback you get from the forum subscribers/viewers.
Scott Barry
SBBWorks, Inc.
Suggest you share some examples of the various formats encountered along with whatever SAS code you have tried, and see what feedback you get from the forum subscribers/viewers.
Scott Barry
SBBWorks, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It is just data. Based on what we have done so far leads me to believe that we will have to re-code all of the variable names (100's) in the import. This is feasible, but if someone has already done this (which there is no way someone hasn't), it would be great to hear their method. This is not a SAS problem, rather a lack of capacity to format in Beyond 20-20 (due to legitimate privacy protection).
Thank you for the very details suggestions. 🙂
Thank you for the very details suggestions. 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Like I mentioned, since you haven't heard from anyone (yet) who has done the Beyond 20/20 to SAS data transition, it may be useful to get others' technical feedback based on some specifics about your files, data-layouts, variable-name challenges, and so on. If that other type of feedback isn't of interest to you, that's cool. There are many individuals on these forums willing to help, but more detailed information about the problem and the challenge would be useful.
Scott Barry
SBBWorks, Inc.
Scott Barry
SBBWorks, Inc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
That is very good advice. I'm going to wait a few days to see if I can get a response from someone in Canada actively using the software responds. After that, I'll figure out exactly what the issue is and post a much more specific question.