How to Find Nearest City or Location in Stata Using GEONEAR Command

Mar 19, 2023
thedatahall.com Logo

thedatahall.com

Verified Open.Video Creator Badge

The geodist command is used to calculate the distance between two locations but we need to use geonear command to find the nearest city, locations within specific kilo meters or miles or limit the number of nearest locations in Stata. Download the code (do and data file) from following link: https://thedatahall.com/how-to-find-nearest-location-in-stata-using-geonear/ Website: thedatahall.com