
Function reference
-
load_srtr_file()
- Load an SRTR file and optionally apply labels
-
set_srtr_wd()
- Set the SRTR working directory
-
apply_srtr_varlabels()
- Apply SRTR variable labels to a data frame
-
apply_srtr_factors()
- Apply SRTR factor labels to a data frame
-
add_pdri()
- Add Pancreas Donor Risk Index (PDRI)
-
srtr_normalize_missing()
- Normalize Missing Value Representations in SRTR Data
-
srtr_composite_death()
- Composite death date (OPTN > SSA > TFL)
-
add_txf_outcomes()
- Add time-to-event (TTE) follow-up outcomes to a transplant cohort
-
add_tte_outcomes()
- Add appropriate TTE outcome variables to a data frame based on the df attributes, if the file was loaded using a load function.
-
srtr_time_to_event()
- Helper function to add a time-to-event outcome from a date function
-
formats
- SRTR Format Lookup Table
-
dictionary
- SRTR Variable Dictionary
-
transplant_centers_sf
- U.S. Transplant Centers (sf), EPSG:5070
-
UNOS_regions_sf
- UNOS Regions by State (sf), EPSG:5070