View source: R/read_dictionary.R
read_dictionary | R Documentation |
Return the data dictionary of a specific Origin
Destination Survey, if available. This dictionary is intended to be used to
understand the data downloaded using the odbr::read_od
function. It will
contain the list of variables and, for each variable, a simple description,
the available categories and its class (factor, numeric, etc).
read_dictionary(
city = "São Paulo",
year = 2017,
harmonize = FALSE,
language = "pt"
)
city |
Character. City of reference. Defaults to "São Paulo". |
year |
Numeric. Year of reference in the format |
harmonize |
Logical. When |
language |
Character. The language of data dictionary to be opened.
Options include |
A "data.frame"
object.
library(odbr)
# return data dictionary from OD Surveys, as data.frame, at a given city and year
df <- read_dictionary(
city = "Sao Paulo",
year = 2017,
harmonize = FALSE,
language = "pt"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.