Dear all,
I would like to use the CPS data, but I have no clue on how to import into stata. I am running this code from the do-files by NBER. Sorry, I cannot use dataex since no variables are in memory.
local dat_name "C:\phd\micrometrics\data\cpsb0405.dat"
local dta_name "C:\phd\micrometrics\data\cpsbmay04.dta"
local dct_name "C:\phd\micrometrics\data\cpsbmay04.dct"
quietly infile using "`dct_name'", using("`dat_name'") clear
But it states the the "dct" file is not found. The dct file by NBER is only online, I cannot save it in my pc. How should I do?
I would like to use the CPS data, but I have no clue on how to import into stata. I am running this code from the do-files by NBER. Sorry, I cannot use dataex since no variables are in memory.
local dat_name "C:\phd\micrometrics\data\cpsb0405.dat"
local dta_name "C:\phd\micrometrics\data\cpsbmay04.dta"
local dct_name "C:\phd\micrometrics\data\cpsbmay04.dct"
quietly infile using "`dct_name'", using("`dat_name'") clear
But it states the the "dct" file is not found. The dct file by NBER is only online, I cannot save it in my pc. How should I do?