edit_day0_child_ids: Edit incorrect child IDs in Day 0 data entries...

View source: R/clean_timci_data.R

edit_day0_child_idsR Documentation

Edit incorrect child IDs in Day 0 data entries (TIMCI-specific function)

Description

This function can be used to correct documented child ID duplicates, incorrect facility codes, or typos in Day 0 data entries. It reads in a CSV file containing corrections and applies them to the input dataframe.

Usage

edit_day0_child_ids(df, csv_prefix = "day0_duplicate_correction")

Arguments

df

A dataframe containing the Day 0 data entries to be corrected.

csv_prefix

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

Value

A list containing the edited dataframe and the list of applied corrections.


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