convert_dates {ecb}R Documentation

Format date variable retrieved from the SDW into a proper date variable

Description

Format date variable retrieved from the SDW into a proper date variable

Usage

convert_dates(x)

Arguments

x

A vector of dates

Value

A date-formatted vector

Examples

hicp <- get_data("ICP.M.U2.N.000000.4.ANR")
hicp$obstime <- convert_dates(hicp$obstime)
str(hicp)

[Package ecb version 0.4.0 Index]