read.results.csv: Read one results.csv file and reformat into long-format

read.results.csvR Documentation

Read one results.csv file and reformat into long-format

Description

Read one results.csv file and reformat into long-format

Usage

read.results.csv(
  dt_dir,
  year_range = 1931:2030,
  q = c("Lower", "Median", "Upper"),
  sex = NULL
)

Arguments

dt_dir

the single directory to a results.csv file

year_range

year range desired, default to all years: '1931:2030'

q

quantile desired, default to 'c("Lower", "Median", "Upper")'

sex

default to NULL, sex is determined from 'dt_dir', unless specified

Value

long-format results.csv, all values in the "value" column


unicef-drp/CME.assistant documentation built on June 3, 2024, 4:26 a.m.