process.common.treatment.data: Process data on the most common treatments

View source: R/ImportFunctionsModular.R View source: R/ImportFunctions.R

process.common.treatment.dataR Documentation

Process data on the most common treatments

Description

Process data on the most common treatments

Process data on the most common treatments

Usage

process.common.treatment.data(file.name, minimum = 10, dtplyr.step = FALSE)

process.common.treatment.data(file.name, minimum = 10, dtplyr.step = FALSE)

Arguments

minimum

The minimum number of times a treatment need appear to be considered "common"; default 1000.

dtplyr.step

Return the output as dtplyr_step to avoid unnecessary future calls to as_tibble or as.data.table

input

Either the path of the interventions data file (CDISC format) or output of process.treatment.data

Value

Formatted common treatment data (wide format) as a tibble or dtplyr_step

Formatted common treatment data (wide format) as a tibble or dtplyr_step


ISARICDataPlatform/CovidClinicalDataProcessor documentation built on March 22, 2022, 7:51 p.m.