eurotime2num: Conversion of Eurostat Time Format to Numeric

Description Usage Arguments Details Value Author(s) Examples

View source: R/eurotime2num.R

Description

A conversion of a Eurostat time format to numeric.

Usage

1

Arguments

x

a charter string with time information in Eurostat time format.

Details

Bi-annual, quarterly and monthly data is presented as fraction of the year in beginning of the period. Conversion of daily data is not supported.

Value

see as.numeric.

Author(s)

Janne Huovari [email protected]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
   na_q <- get_eurostat("namq_10_pc", time_format = "raw")
   na_q$time <- eurotime2num(x = na_q$time)
   
   un <- get_eurostat("une_rt_m", time_format = "raw")
   un$time <- eurotime2num(x = un$time)
   
   na_a <- get_eurostat("nama_10_pc", time_format = "raw")
   na_a$time <- eurotime2num(x = na_a$time)
   
## End(Not run)

eurostat documentation built on May 20, 2018, 5:03 p.m.