Description Usage Arguments Value Examples
Converts multi-row data to single row data
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | format_multirow_ems_data(
data_in,
event_id_name = "CAD Incident Number (eResponse.03)",
patient_first_name = "Patient First Name (ePatient.03)",
patient_last_name = "Patient Last Name (ePatient.02)",
patient_age_name = "Patient Age (ePatient.15)",
primary_impression_name = "Situation Provider Primary Impression (eSituation.11)",
primary_complaint_name = "Situation Primary Complaint Statement List (eSituation.04)",
care_narrative_name = "Patient Care Report Narrative (eNarrative.01)",
medication_given_name = "Medication Given Description (eMedications.03)",
medication_response_name = "Medication Response (eMedications.07)",
remove_numbers_from_text = TRUE,
stop_words = overdoseR:::stop_words
)
|
data_in |
raw EMS data to use |
event_id_name |
Name of id column, defaults to "CAD Incident Number (eResponse.03)", |
patient_first_name |
Name of first name column, defaults to "Patient First Name (ePatient.03)", |
patient_last_name |
Name of last name column, defaults to (ePatient.02)", |
patient_age_name |
Name of age column, defaults to (ePatient.15)", |
primary_impression_name |
Name of primary impression column, defaults to "Situation Provider Primary Impression (eSituation.11)", |
primary_complaint_name |
Name of primary complaint column, defaults to "Situation Primary Complaint Statement List (eSituation.04)", |
care_narrative_name |
Name of care narrative column, defaults to "Patient Care Report Narrative (eNarrative.01)", |
medication_given_name |
Name of medication administered column, defaults to "Medication Given Description (eMedications.03)", |
medication_response_name |
Name of medication response column, defaults to "Medication Response (eMedications.07)", |
remove_numbers_from_text |
Logical flag to remove numbers from text |
stop_words |
Corpus of stop words, defaults to tidytext::stop_words (tidytext not required) |
One row per record dataframe of inputted data and one-hot fields
1 | ## Not run: format_multirow_ems_data(data_in = raw_ems_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.