Man pages for zongyf02/INORMUS
Functions for the INORMUS Project

check_admfrom_ihunitsCheck 6 The time from injury to hospital admission should be...
check_condate_hdcdate_dthdateCheck 17 Check that consent date is before or on discharge...
check_condate_hspdateCheck 3 Check that consent date should be 0 - 30 days after...
check_condate_injdateCheck 1 Check that consent date should be on the same day, or...
check_form2.1_box5Filters out invalid rows for box 5 of form2.1
check_form2.2_box10Filters out invalid rows for box 10 of form2.2
check_form3.1_box4Filters out invalid rows for box 4 of form3.1
check_form3.2_box5Filters out invalid rows for box 5 of form3.2
check_form3.2_box6Filters out invalid rows for box 6 of form3.2
check_form3.2_box7_abdoFilters out invalid rows for the abdomen box 7 of form3.2
check_form3.2_box7_chestFilters out invalid rows for the chest box 7 of form3.2
check_form3.2_box7_hnFilters out invalid rows for the head/neck box 7 of form3.2
check_form3.3_p50cityFilters out invalid rows for city code for form3.3
check_form3.3_p50distFilters out invalid rows for district code for form3.3
check_form4.1_box2Filters out invalid rows for box 2 of form4.1
check_form4.1_box3Filters out invalid rows for box 3 of form4.1
check_form4.1_box5Filters out invalid rows for box 5 of form 4.1
check_form5.14_box1aFilters out invalid rows for box 1a "Other solution" of...
check_form5.14_box1bFilters out invalid rows for box 1b "Other time of...
check_form5.14_box2Filters out invalid rows for box 2 of form5.14
check_form5.14_box3Filters out invalid rows for box 3 of form5.14
check_form5.1x_box1Filters out invalid rows for box 1 of form 5.1
check_form5.2x_box2Filters out invalid rows for box 2 of form5.2/6/10
check_form5.2x_box3aFilters out invalid rows for box 3 "other locations of...
check_form5.2x_box3bFilters out invalid rows for box 3 "other treatment" of...
check_form5.2x_box4Filters out invalid rows for box 4 of form5.2/6/10
check_form5.3x_box5aFilters out invalid rows for box 5 "other internal fixation"...
check_form5.3x_box5bFilters out invalid rows for box 5 "other non-operative...
check_form5.4x_box7aFilters out invalid rows for box 7 "Other solution additive"...
check_form5.4x_box7bFilters out invalid rows for box 7 "Other delivery method" of...
check_form5.4x_box8Filters out invalid rows for box 8 of form5.4/8/12
check_form5.4x_box9Filters out invalid rows for box 9 of form5.4/8/12
check_form6.1_box1aFilters out invalid rows for box 1 "Other patient discharge"...
check_form6.1_box1bFilters out invalid rows for box 1 "Cause of death" of...
check_form6.1_box2aFilters out invalid rows for box 2 "Other complication" of...
check_form6.1_box2bFilters out invalid rows for box 2 "Other cardiac...
check_form6.1_box4Filters out invalid rows for box 4 of form6.1
check_form7.x_box3Filters out invalid rows for box 3 of form7.x
check_form7.x_box4aFilters out invalid rows for box 4 "Other treatment" of...
check_form7.x_box4bFilters out invalid rows for box 4 "Other non-operative...
check_form7.x_box4cFilters out invalid rows for box 4 "Other details" of form7.x
check_formdate_ocrecyesCheck 16 Check that date of follow-up is 30 or more days...
check_fracwith_diswithCheck 8 and 9 Check that the location of fracture and the...
check_hspdate_injdateCheck 2 Check that hospital admission date should be on the...
check_ihunits_ipunitsCheck 14 The time difference between the time from injury to...
check_initialsCheck that initials between forms are consistent
check_injdate_hspdateCheck 5 Check that time from injury to hsp admission should...
check_invalid_boxesHelper to filter out invalid coding boxes
check_invalid_form1.1Check that all entries in form1.1 are filled with valid...
check_invalid_form2.1Check that all entries in form2.1 are filled with valid...
check_invalid_form2.2Check that all entries in form2.2 are filled with valid...
check_invalid_form3.1Check that all entries in form3.1 are filled with valid...
check_invalid_form3.2Check that all entries in form3.2 are filled with valid...
check_invalid_form4.1Check that all entries in form4.1 are filled with valid...
check_invalid_form5.2xCheck that all entries in form5.2 are filled with valid...
check_locabxCheck 7 Check that the time from injury to the first...
check_northinj_form5.14Check 4 Check that the number of orthopedic injuries stated...
check_northinj_form5.xCheck 4 Check that the number of orthopedic injuries stated...
check_openclos_ianddCheck 11 Check that the response to I&D is consistent with...
check_openclos_NACheck 13 Check that closed fracture injuries have have NA...
check_operat_failsurg_delsurgCheck 12 Check that details on the patient's surgery is...
filter_hipFilter out patients who have a hip injury (lpfem or rpfem)
filter_precovidFilter out patients who were admitted to a hospital pre-covid...
is_invalidCheck if numeric or character vector is invalid
is_invalid_na_or_nCheck if numeric or character vector is invalid, NA or N
is_invalid_or_nCheck if numeric or character vector is invalid or N
is_invalid_or_naCheck if numeric or character vector is invalid or NA
is_nCheck if numeric or character vector is N
merge_formsMerge a list of forms
parse_dmYConvert string in d/m/Y format to dates
parse_numConvert string to number
parse_regionConvert id to site region
parse_siteConvert id to site location
percentConvert decimal to percentage
read_form1.1Read in form1.1
read_form2.1Read in form2.1
read_form2.2Read in form2.2
read_form3.1Read in form3.1
read_form3.2Read in form3.2
read_form3.3Read in form3.3
read_form4.1Read in form4.1
read_form5.1Read in form5.1
read_form5.10Read in form5.10
read_form5.11Read in form5.11
read_form5.12Read in form5.12
read_form5.13Read in form5.13
read_form5.14Read in form5.14
read_form5.159Read in form5.1, 5.5, or 5.9
read_form5.2Read in form5.2
read_form5.2610Read in form5.2, 5.6, or 5.10
read_form5.3Read in form5.3
read_form5.3711Read in form5.3, 5.7, or 5.11
read_form5.4Read in form5.4
read_form5.4812Read in form5.4, 5.8, or 5.12
read_form5.5Read in form5.5
read_form5.6Read in form5.6
read_form5.7Read in form5.7
read_form5.8Read in form5.8
read_form5.9Read in form5.9
read_form6.1Read in form6.1
read_form7.1Read in form7.1
read_form7.2Read in form7.2
read_form7.3Read in form7.3
read_form7.4Read in form7.4
read_form7.xRead in form7.x
summarise_catSummarise a categorical column
summarise_catvalSummarise a value in a column
summarise_contSummarise a continuous column
summarise_dateSummarise a date column
summarise_formSummarise a form
summarise_NASummarise NAs in a column
summarize_formSame as summarise_form
zongyf02/INORMUS documentation built on Dec. 28, 2021, 8:49 a.m.