clean_TI_export_appointment: Clean TI appointment export file

View source: R/TI_CCMH_export_support_functions.r

clean_TI_export_appointmentR Documentation

Clean TI appointment export file

Description

@param data A data frame. @param key A data frame with two columns, orginal_name and new_name, to rename the columns in the appointment data. Default is CCMHr::TI_CCMH_export_appointment_key @param save A logical statement indicates whether the data frame should be saved as a file under a local folder. If false, the data will be returned as an object. By default, FALSE @param path A quoted string to indicate the path where the appointment data should be saved. By default, TI_appointment_clean.csv

Usage

clean_TI_export_appointment(
  data,
  key = CCMHr::TI_CCMH_export_appointment_key,
  save = FALSE,
  path = "TI_appointment_clean.csv"
)

Value

A data frame with cleaned TI exported appointment data.


CCMH-PSU/CCMHr documentation built on Jan. 11, 2025, 4:36 p.m.