convert_dates: Format date variable retrieved from the SDW into a proper...

View source: R/main.R

convert_datesR 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)

ecb documentation built on April 20, 2023, 5:07 p.m.