View source: R/tidy_eurostat2.R
tidy_eurostat2 | R Documentation |
Transform raw Eurostat data table downloaded from the new dissemination API into the row-column-value format (RCV).
tidy_eurostat2( dat, time_format = "date", select_time = NULL, stringsAsFactors = FALSE, keepFlags = FALSE )
dat |
a data_frame from |
time_format |
a string giving a type of the conversion of the time column from the
eurostat format. A "date" (default) converts to a |
select_time |
a single character symbol for a time frequency, a vector
containing multiple time frequencies, or |
stringsAsFactors |
if |
keepFlags |
a logical whether the flags (e.g. "confidential",
"provisional") should be kept in a separate column or if they
can be removed. Default is |
tibble in the molten format with the last column 'values'.
Przemyslaw Biecek, Leo Lahti, Janne Huovari and Pyry Kantanen
See citation("eurostat").
get_eurostat()
, convert_time_col2()
, eurotime2date2()
## Not run: # Example of a dataset with multiple time series get_eurostat("AVIA_GOR_ME", time_format = "date_last", cache = F, bulk_new_style = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.