extractRawColumnData: Title extractRawColumnData

View source: R/extractRawColumnData.R

extractRawColumnDataR Documentation

Title extractRawColumnData

Description

In certain situations in the checkAnalytics function, we need to extract raw data from the DataPack sheets for use in calculations. This utility function will help to extract raw data from the excel sheets given a vector of columns to extract.

Usage

extractRawColumnData(d, sheet, cols)

Arguments

d

Datapackr sidecar object

sheet

String. Name of sheet/tab within tool.

cols

Name of the columns to extract. PSNU is mandatory

Value

A data frame consisting of psnu, psnu_uid, age, sex, key_population indicator_code and value


pepfar-datim/datapackr documentation built on April 14, 2024, 10:35 p.m.