Skip to contents

Get yearly mm23 data

Usage

get_mm23_year(rawfile)

Arguments

rawfile

A downloaded mm23.csv file. If missing will attempt to download from ONS.

Value

A tibble containing date, CDID and value.

Examples

if (FALSE) { # \dontrun{
url <- "https://www.ons.gov.uk/file?uri=/economy/inflationandpriceindices/
datasets/consumerpriceindices/current/mm23.csv"
    tmp <- tempfile()
download.file(url, tmp)
rawfile <- tmp
get_mm23_month(rawfile)
} # }