Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72764

Problems loading data

$
0
0
Hello,

I have downloaded three files from a governmental website: a do-File, a dct-File and a txt-File. The instructions from their website states that I should open the .do file with Wordpad and insert paths for the following three lines:
local raw_data "C:\....."
local dict: "C:\..."
local outfile "C:\...\
I inserted the correct paths where the files where located and saved the .do file as a new file and then started Stata 14. I wanted to load the .do file but it would not do anything. Then on another forum someone wrote that one needs to add single quotes, i.e. `"C:\...."'. I did this and additionaly, I added double quotes to `dict' in the -infile- command, i.e. I have changed it to: infile using "`dict'", using (`raw_data') clear. Once again I loaded the .do file, and now it seemed to load a lot of variables, but at one point the following error message showed up: option using() incorrectly specified
r(198);
end of do-file.

Can you help me out on this?
Thank you very much
A.C






Viewing all articles
Browse latest Browse all 72764

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>