access_API | R Documentation |
Given a local Id of a correspondence table or classification, gets the data and transforms it into a data.frame. For internal use of the package.
access_API(
localId = NULL,
content = "data",
classification_service = NULL,
lang = "fi"
)
localId |
character, local ID of the correspondence table or classification |
content |
character, |
classification_service |
character, |
lang |
|
Currently supported classification services are 'classifications' and 'correspondenceTables'. For more information on classification services, see https://www.stat.fi/en/luokitukset/info/.
data.frame either the correspondence table or its url depending on argument content
.
localId <- "kunta_1_20200101%23seutukunta_1_20200101"
df <- access_API(localId, content = "data")
access_API(localId, content = "url")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.