correct_spo2_values: Correct hospital follow-up IDs (TIMCI-specific function)

View source: R/clean_timci_data.R

correct_spo2_valuesR Documentation

Correct hospital follow-up IDs (TIMCI-specific function)

Description

Correct hospital follow-up IDs (TIMCI-specific function)

Usage

correct_spo2_values(df, csv_prefix = "day0_spo2_meas1", meas = 1)

Arguments

df

dataframe

csv_prefix

A string value indicating the prefix of the CSV file from which to read the corrections (default is "day7_non_valid_pid_correction").

meas

integer with value 1 or 2 to indicate the measurement variable to replace

Value

This function returns a list that contains a dataframe with corrections and the list of edits


Thaliehln/timci documentation built on April 8, 2024, 3:38 p.m.