Conversion of Eurostat Time Format to Numeric

Share:

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.

Value

see as.numeric.

Author(s)

Janne Huovari ropengov-forum@googlegroups.com http://github.com/ropengov/eurostat

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
   lp <- get_eurostat("namq_aux_lp", time_format = "raw")
   lp$time <- eurotime2num(x = lp$time)
   
   un <- get_eurostat("une_rt_m", time_format = "raw")
   un$time <- eurotime2num(x = un$time)
   
   lpa <- get_eurostat("nama_aux_lp", time_format = "raw")
   lpa$time <- eurotime2num(x = lpa$time)
   
   eur_d <- get_eurostat("ert_bil_eur_d", time_format = "raw")
   eur_d$time <- eurotime2num(x = eur_d$time)
   
## End(Not run)