I am using the geocode_OSM function from tmaptools in r to geocode about 400,000 addresses in a county in NC. I added " ,NC, USA" to addresses and geocoded the new addresses. Now they are all in NC, but I need to limit them within a county. I cannot use a city name, because addresses are in multiple cities in a county. Please let me know if there is any argument that can be added to the function to limit coordinates/addresses to a specific boundary. Thank you.
I am using the geocode_OSM function from tmaptools in r to geocode about 400,000 addresses in a county in NC. I added " ,NC, USA" to addresses and geocoded the new addresses. Now they are all in NC, but I need to limit them within a county. I cannot use a city name, because addresses are in multiple cities in a county. Please let me know if there is any argument that can be added to the function to limit coordinates/addresses to a specific boundary. Thank you.