From the course: Creating Maps with R

Unlock the full course today

Join today to access over 24,000 courses taught by industry experts.

Convert addresses to coordinates with geocoding

Convert addresses to coordinates with geocoding

From the course: Creating Maps with R

Convert addresses to coordinates with geocoding

- [Instructor] Geocoding is the process of converting human language street addresses into coordinates we can use to create maps. In the 02_03_b branch of the project repo, there's an Excel file that contains addresses of businesses and places that I've worked across the world. We'll be converting all of these into coordinates with R. Notice how it has varying levels of detail for the different locations. Most of the locations I've given are specific places, like row five, Oxford University's IT department. But I've also given very non-specific addresses, like on line six, where I'm simply specifying Birmingham City, in Birmingham, in the UK. We'll see that geocoding can work for addresses with these differing levels of precision. There are several different R packages that provide geocoding services. I would strongly recommend that you go with the tidygeocoder package, as it's designed to work easily with the tidyverse.…

Contents