get_featurecodes: Geonames feature codes

View source: R/zzz.R

get_featurecodesR Documentation

Geonames feature codes

Description

Geonames feature codes

Usage

get_featurecodes()

Format

A data.frame with 11 variables and 4084 rows

feature_class

a character vector containing the Geonames feature class

feature_code

a character vector containing the Geonames feature code

feature_type

a character vector containing the Geonames feature type

feature_description

a character vector containing the Geonames feature description

Details

The main allCountries table that is the source for the undersea table lists features in terms of feature class and feature code. The featurecodes table concatenates these fields with a stop. This function separates them for joining.

Value

data frame

References

Geonames feature code file http://download.geonames.org/export/dump/featureCodes_en.txt and table http://www.geonames.org/export/codes.html

Examples

## Not run: get_featurecodes()

poldham/underwater documentation built on Sept. 11, 2023, 11:49 a.m.