kh03_boilerplate: Adds KH03 boilerplate text columns to a data frame in...

View source: R/kh03_boilerplate.R

kh03_boilerplateR Documentation

Adds KH03 boilerplate text columns to a data frame in preparation of kh03 data for upload to DCS

Description

DCS denominator upload requires files in a certain format. This is a function to add common variables to a data frame

Usage

kh03_boilerplate(x)

Arguments

x

A data frame to which columns will be added

Value

A data frame with new columns added

Examples

dat <- data.frame(trustcode = rep("AAA", 2), period = c(201415, 201516), stringsAsFactors = FALSE)
dat <- kh03_boilerplate(dat)

PublicHealthEngland/hcaidcs documentation built on Jan. 19, 2024, 8:38 a.m.