View source: R/unit_code_names.R
unit_codes_to_names | R Documentation |
unit_code_to_names
takes a single unit code or vector of unit codes and returns a data frame of full unit names using a public IRMA API. For example if given the code "ROMO" the function will return "Rocky Mountain National Park".
unit_codes_to_names(unit_code)
unit_code |
string or list of strings consisting of (typically) four-letter unit codes. |
a data frame consisting of a single column of full park names
## Not run:
unit_codes_to_names("ROMO")
unit_codes_to_names(c("ROMO", "GRYN"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.