popn_boilerplate: Adds population boilerplate text columns to a data frame in...

View source: R/popn_boilerplate.R

popn_boilerplateR Documentation

Adds population boilerplate text columns to a data frame in preparation of population denominator 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

popn_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 <- popn_boilerplate(dat)

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