eurotime2num2: Conversion of Eurostat Time Format to Numeric

View source: R/eurotime2num.R

eurotime2num2R Documentation

Conversion of Eurostat Time Format to Numeric

Description

A conversion of a Eurostat time format to numeric.

Usage

eurotime2num2(x)

Arguments

x

a charter string with time information in Eurostat time format.

Details

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.

Value

see as.numeric().

Author(s)

Janne Huovari janne.huovari@ptt.fi, Pyry Kantanen

See Also

Other helpers: cut_to_classes(), dic_order(), eurotime2date2(), eurotime2date(), eurotime2num(), harmonize_country_code(), label_eurostat2(), label_eurostat()

Examples



na_q <- get_eurostat("namq_10_pc", time_format = "raw")
na_q$time <- eurotime2num(x = na_q$time)

unique(na_q$time)



eurostat documentation built on March 7, 2023, 5:39 p.m.