View source: R/read_textdata.R
read_namelist | R Documentation |
Returns the included data source namelist
as a
tibble
,
by default filtered according to English names and shortnames.
read_namelist(
path = pkgdatasource_path("textdata/namelist", ".yml"),
file = "namelist",
lang = "en"
)
path |
Location of the data source. The default is to use the location of the data source as delivered by the installed package. |
file |
The filename of the data source, without extension. The default is to use the file delivered by the installed package. |
lang |
An
IETF BCP
47 language tag, such as |
namelist
is a data source in the
vc-format which provides
names and (optionally) shortnames for IDs/codes used in other data sources.
read_namelist()
reads it and returns it as a
tibble
.
A tibble is a data frame that makes working in the tidyverse a little
easier.
By default, the data version delivered with the package is used and only English
names (lang = "en"
) are returned.
The namelist
data frame as a tibble
,
filtered according to the lang
argument.
See namelist
for documentation of the tibble's contents.
read_namelist()
read_namelist(lang = "nl")
namelist
Other reading functions for n2khab-referencelists:
read_env_pressures()
,
read_types()
read_namelist()
read_namelist(lang = "nl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.