eurotime2num | R Documentation |
A conversion of a Eurostat time format to numeric.
eurotime2num(x)
x |
a charter string with time information in Eurostat time format. |
Bi-annual (semester), quarterly, monthly and weekly data can be presented as a fraction of the year in beginning of the period. Conversion of daily data is not supported.
see as.numeric()
.
Janne Huovari janne.huovari@ptt.fi, Pyry Kantanen
Other helpers:
cut_to_classes()
,
dic_order()
,
eurotime2date()
,
harmonize_country_code()
,
label_eurostat()
na_q <- get_eurostat("namq_10_pc", time_format = "raw")
na_q$TIME_PERIOD <- eurotime2num(x = na_q$TIME_PERIOD)
unique(na_q$TIME_PERIOD)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.