Learn R Programming

ecb (version 0.4.2)

convert_dates: 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)

Value

A date-formatted vector

Arguments

x

A vector of dates

Examples

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

Run the code above in your browser using DataLab