When I manually convert the same file with Stat/Transfer I get no missing values.
Code:
. import dbase using dn99, clear case(lower) (21 vars, 3,256,433 obs) . save SINASC_import_dbase, replace file SINASC_import_dbase.dta saved . codebook dtnasc -------------------------------------------------------------------------------------------------------------------------------------------- dtnasc DTNASC -------------------------------------------------------------------------------------------------------------------------------------------- type: string (str8) unique values: 366 missing "": 994,858/3,256,433 examples: "" "05031999" "13111999" "22081999" . . use SINASC_stat_transfer, clear . codebook dtnasc -------------------------------------------------------------------------------------------------------------------------------------------- dtnasc (unlabeled) -------------------------------------------------------------------------------------------------------------------------------------------- type: string (str8) unique values: 366 missing "": 0/3,256,433 examples: "06111999" "12121999" "19021999" "25031999" . end of do-file
Many thanks
Paula
0 Response to Problem with -import dbase-
Post a Comment