Hi,
I'm running Stata 15 and trying to use the user-written command shp2dta on a Macbook.
Suppose the data is saved in folder "Maps". I have changed the working directory to this folder---which I confirmed by listing the folders of the working directory. I then follow the shp2dta syntax as specified but I keep getting an error message as follows.
The file "DCW_coordinates.dta" is successfully created, but not the "DCW_data.dta" file.
I'm confused what to do with an "invalid dBASE data type" error and I cannot find a solution online.
Thanks in advance for any help.
I'm running Stata 15 and trying to use the user-written command shp2dta on a Macbook.
Suppose the data is saved in folder "Maps". I have changed the working directory to this folder---which I confirmed by listing the folders of the working directory. I then follow the shp2dta syntax as specified but I keep getting an error message as follows.
Code:
cd "Maps" shp2dta using "DCW_countries", data("DCW_data") coor("DCW_coordinates") replace type: 5 DCW_countries.dbf: invalid dBASE data type r(610);
I'm confused what to do with an "invalid dBASE data type" error and I cannot find a solution online.
Thanks in advance for any help.
Comment