Description Usage Arguments Details Value Examples
View source: R/places_download.R
Read in and process geonames data dump files into a data.frame.
1 | places_download(country = NULL, code = NULL)
|
country |
A country name (use |
code |
A two letter iso country code (use |
Column names are converted to lower, spaces replaced with underscores and brackets removed. download_date added to table with the users system date. places_import
cannot handle three letter country codes will throw an error.
a data.frame
1 2 3 4 5 | ## Not run: AI <- places_download(code = "AI") %>% places_import()
kenya <- places_download(country = "kenya") %>% places_import()
all <- places_download(country = "allcountries") %>% places_import()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.