Description Usage Arguments Details Value Examples
View source: R/find_geography_URI.R
Matches passed string with URI available in the Standard Geography Code Register.For URI's function returned passed values.
1 | find_geography_URI(geography, database = "internal")
|
geography |
A character vector of geography names. URIs starting with
|
database |
Can be one of the following internal, ScotStat, both. Defaults to internal that reflects an extract of Standard Geography Code Register. Option online searches across the Statistics.gov.scot. |
The function is mostly used internally to make using
get_geography_data
more user friendly. The
function can be used in isolation to conveniently get URIs for the
colloquial geography names.
A named character vector of unique geography URIs. For multiple matches names will be numbered - string 'Edinburgh' will match multiple geographies that will be named 'Edinburgh1', 'Edinburgh2', ...
1 | find_geography_URI(geography = c("Edinburgh", "Glasgow"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.