Hi All,
I am trying to calculate the distance of disaster occurrences from specific place names within a 50km radius.
The code that I am using is:
geonear place_name latitude_afro longitude_afro using "GDIS Geonear Test.dta", n(disastertype latitude longitude) ignoreself long within(50)
and it is coming up with the following error: latitude_afro or longitude_afro not constant within place_name group r(459);
I have tried two variables at the start of the code place_name and merge_location and they have each presented the same error.
Any advice would be much appreciated.
Cheers,
Rob
0 Response to geonear r(459) error message advice
Post a Comment