View source: R/ots_strings_processing.R
ots_country_code | R Documentation |
Takes a text string and searches within the package data for a country code in the context of valid API country codes.
ots_country_code(countryname = NULL)
countryname |
A text string such as "Chile", "CHILE" or "CHL". |
A single character if there is a exact match (e.g.
ots_country_code("Chile")
) or a tibble in case of multiple matches
(e.g. ots_country_code("Germany")
)
ots_country_code("Chile ")
ots_country_code("america")
ots_country_code("UNITED STATES")
ots_country_code(" united_")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.