Man pages for ultramattyice/traumaR
This package was created to manipulate the Pennsylvania Trauma Outcome System (PTOS) data.

adm_servMedical Services
age_cleanupCalculating Age if AGE is missing using DOB
burn_typeBurn Type
ca_discgtoChild Discharged to Was the child discharged to a different...
comp_lcDiagnosis Location of Complication
complicOccurances and Complications (pg. 122-125)
countyThe county of Pennsylvania in which the injury event took...
create_arrival_discharge_dfCreate Normalized Arrival and Discharge Data
create_complic_dfCreate Normalized Complications Data
create_diag_dfCreate Normalized Diagnosis Data
create_flat_transCreate Flat Dataframe of all procedures, complications, and...
create_full_transCombines all the transactional data together
create_injury_dfCreate Normalized Injury Data
create_patient_dfCreate the Patient Data Frame
create_patient_timeframeCreate Patient Time Periods and Intervals
create_proc_dfCreate Normalized Procedure Data
create_ptos_dataCreate Human Friendly PTOS Data
create_transportation_dfCreate Normalized Transportation Data
diagnosis_lvl_1Diagnosis Performed
dis_statusDischarge Status
dob_cleanupCalculating DOB when DOB is missing using AGE MINUS Admission...
drop_blank_columnsDrop All Columns that contain only NA's
drugRecord of drugs patient tested positive at referring hospital...
e_codeCause of Injury
ecode_actActivity Code for Injury
eye_opngGCS Assessment of the stimulus required to induce eye...
fimFunctional Status at Discharge
hgt_fallFall Height
inj_typeType of Injury (pg. 20)
injury_dt_cleanupCalculating Injury Date when Injury Date is missing using AGE...
injury_locClassification of type of injury (pg. 20)
injury_lvl_1Injury ECode Descriptions
life_supHighest Level of Provider - Life Support (pg 25)
mot_respGCS Assessment of the stimulus necessary to elicit motor...
pay_catPay categories are based on HC4 standard categories (pg. 101)
pgyPost Graduate Year for Resident
pipePipe operator
post_ed_dFinal destination after Emergency Department (Pg. 52)
pre_existPre-existing Medical Conditions
procedure_lvl_1Procedures Performed Record both operative and non-operative...
proc_lcLocation of Medical Procedures
prot_devProtective devices (safety equipment) in use or worn by the...
raceRace of Patient using Pg. 17
ref_intdINTERVENTIONS FOR DIAGNOSIS AND TREATMENTS
rename_columnsRenaming PTOS Data
run_full_showRull the full show for PTOS Data Frame
serviceService or Specialty (Not the same as surgical speciality)
sexClassification of Male or Female (pg. 17)
transportTransportation (Pg. 24) Identifies the method used to...
verb_respGCS Assessment of the stimulus required for verbal response...
xfer_timeElapsed time from date/time of arrival at referring facility...
yes_noYes and No Classification
ultramattyice/traumaR documentation built on June 11, 2020, 2:22 p.m.