Description Usage Arguments Details Value Examples
Get the data of the last millesime of all the datafiles found in data. All
columns are returned as chr
(see below).
1 |
data |
a tibble issued from |
query |
a query to pass to the API to select columns and filter on values. |
col_types |
how to convert columns, the default is to use char for all
columns |
concat |
|
You can use convert()
to convert number and integer.
For private life reason, data returned by DiDo can be secretize (the value is replaced by the string "secret") so readr can't determine data type.
If concat is TRUE
(default), return a tibble with all data concatenated in
one tibble.
If concat is FALSE
, return a list of tibbles.
get_data()
returns only chr
1 2 3 4 5 6 7 8 9 10 11 12 | # get all columns
datafiles() %>%
dido_search("drom") %>%
get_data()
# get only DEPARTEMENT_CODE and ESSENCE_M3 columns
datafiles() %>%
dido_search("drom") %>%
get_data(query = c(columns = "DEPARTEMENT_CODE,ESSENCE_M3"))
# get only rows where `DEPARTEMENT_CODE == 971
datafiles() %>%
dido_search("drom") %>%
get_data(query = c(DEPARTEMENT_CODE = "eq:971"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.