Hello Stata community
I have GPS coordinates, where some coordinates have latitude and longitude values of 0.000000.
I want to replace these values as missing, so I use the command
replace lat = . if lat == 0.000000
However, 0 changes are made, even when these values are present within the lat variable. Other commands are also unresponsive to these values, such as 'browse'. However, it is possible to control+f search for these values when I browse without conditioning on them.
Does anyone know why these values might be acting in this way and how I can circumvent this issue?
Thanks!
I have GPS coordinates, where some coordinates have latitude and longitude values of 0.000000.
I want to replace these values as missing, so I use the command
replace lat = . if lat == 0.000000
However, 0 changes are made, even when these values are present within the lat variable. Other commands are also unresponsive to these values, such as 'browse'. However, it is possible to control+f search for these values when I browse without conditioning on them.
Does anyone know why these values might be acting in this way and how I can circumvent this issue?
Thanks!
Comment