R/places_archive.R
places_archive.RdThe allcountries file is a reference file of the Geonames daily data dump from 2018-01-01 containing 11,180,293 georeferenced place names.
The Geonames daily data dump for all countries (Geonames allCountries.txt). The package reference file from 2018-01-01 contains 11,180,293 georeferenced place names in a 364MB compressed rda file. As this is a large file it can take a while. To import the most recent file use places_download.
places_archive()
A data.frame with 20 variables
geonameidnameasciinamealternatenameslatitudelongitudefeature_classfeature_codeisocc2admin1_codeadmin2_codeadmin3_codeadmin4_codepopulationelevationdemtimezonemodification_datedownload_dateColumn names converted to lower case, punctuation and spaces replaced with underscores. The download_date column is added by places_import.
Citation: Geonames AllCountries (http://download.geonames.org/export/dump/allCountries.zip).
# NOT RUN {
places <- places_archive(),
load("allcountries.rda")
# }