Dear Stata Users:
I'm trying to infix Census data that I have downloaded
in an ASC file (.asc). I have created a dictionary
(.dct) with which to infix the files. Stata returns
the dictionary as invalid.
The do file looks like the following:
set more off
set memory 500m
log using food2001, replace
infix using C:\FSP\2001cpscode.dct
sum
save ex00, replace
drop _all
The dictionary looks like the following:
infix dictionary using c:\fsp\2001cps.asc
{
HRHHID 1-15
OCCURNUM 17-24
PWSUPWGT 26-35
HHSUPWGT 37-46
HESP1 48-57
HESP2M 59-68
and so on.... followed by }
(the numbers are taken from the lay file produced by
Census when downloading Data)
Any suggestions as to why this won't work.
Thanks,
John
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/