geonames_table: Extract geonames export dump file names

Description Usage Details Value Examples

View source: R/geonames_prepare.R

Description

Fetch the geonames daily dump page and parse it to a data frame.

Usage

1

Details

The function fetches the geoname daily dump page consisting of a table with "Name", "Last Modified", "Size" and "Description". The Name field is parsed to create a file_name and file_type column. The files are a mix of individual country files (e.g. AD.zip) and other files (e.g. allCountries.zip, admin2Codes.txt etc.). To facilitate country matches the file name is parsed into iso2c for two letter country codes and other

Value

data.frame

Examples

1
{geonames_prepare()}

poldham/oldhammisc documentation built on May 25, 2019, 11:23 a.m.