Function reference
-
apply_trimester_hierarchy()
- Apply Trimester Hierarchy to Patients
-
apply_outcome_hierarchy()
- Apply Outcome Hierarchy to Patients
-
apply_pregnancy_start_end_hierarchy()
- Apply Pregnancy Start and End Hierarchy to Patients
-
filter_eligible_women()
- ID women that fit inclusion criteria of age and time period
-
find_matches_in_ICD()
- Go through the various "diagnosis" fields in the dataset, looking for matches with the ICD codes
-
match_on_pregnancy_cpt_code()
- Keep and return records of eligible women that match CPT pregnancy codes with additional info
-
match_on_pregnancy_procedure_code()
- Keep and return records of eligible women that match pregnancy procedure codes with additional info
-
calculate_age_variables()
- Calculate additional age variables
-
extraction_example
- Extraction Example
-
cpt_pregnancy_codes
- CPT Pregnancy Codes
-
icd10_diagnosis_pregnancy_codes
- ICD-10 Diagnosis Pregnancy Codes
-
icd10_procedure_pregnancy_codes
- ICD-10 Procedure Pregnancy Codes
-
icd9_diagnosis_pregnancy_codes
- ICD-9 Diagnosis Pregnancy Codes
-
icd9_procedure_pregnancy_codes
- ICD-9 Procedure Pregnancy Codes
-
labor_delivery_codes
- Labour and Delivery Codes
-
save_parquet()
- Save an R object as a Parquet file
-
write_to_impala_then_read_lazy_table()
- Save table to Impala and return remote table
-
drop_NAs_in_trimester_code_clean()
- Drop NAs helper
-
keep_only_NAs_in_trimester_code_clean()
- Keep NAs helper
-
Nsundays()
- Calculate Nsundays (Number of Sundays per week)
-
success_confirmation()
- Output a success confirmation message
-
validation_error()
- Generate a validation error message
-
vars_content_to_string()
- Helper for logging parameter name and value This function takes in one or more atomic variables and converts them into a string format for logging purposes.