Check date of death value in cause of death data based on CoDEdit rules
+ Source:R/cod_check_dod.R
+ cod_check_dod.Rd
Check date of death value in cause of death data based on CoDEdit rules
+diff --git a/pkgdown.yml b/pkgdown.yml index de5c464..3bdbd18 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -2,7 +2,7 @@ pandoc: 3.1.11 pkgdown: 2.0.9 pkgdown_sha: ~ articles: {} -last_built: 2024-06-28T07:08Z +last_built: 2024-06-29T04:58Z urls: reference: https://oxford-ihtm.io/codeditr/reference article: https://oxford-ihtm.io/codeditr/articles diff --git a/reference/cod_check_dod.html b/reference/cod_check_dod.html new file mode 100644 index 0000000..4210f04 --- /dev/null +++ b/reference/cod_check_dod.html @@ -0,0 +1,116 @@ + +
R/cod_check_dod.R
+ cod_check_dod.Rd
Check date of death value in cause of death data based on CoDEdit rules
+R/cod_check_input.R
+ cod_check_input.Rd
Check structure and values of input data to CoDEdit tool
+A data.frame with 6 columns with names "FreeId"
, "Sex"
,
+"Age Value"
, "Age Type"
, "Code"
, and "Death Date"
and compatible
+with the input data required by the CoDEdit tool.
A data.frame containing check codes and check notes for each row
+and variable identified with the FreeId
of df
.
cod_check_codedit_input(icd10_example)
+#> # A tibble: 3,613 × 7
+#> sex_check sex_check_note age_check age_check_note code_check$code_check
+#> <int> <chr> <int> <fct> <int>
+#> 1 0 No issues with sex … 0 No issues wit… 0
+#> 2 0 No issues with sex … 0 No issues wit… 0
+#> 3 0 No issues with sex … 0 No issues wit… 0
+#> 4 0 No issues with sex … 0 No issues wit… 0
+#> 5 0 No issues with sex … 0 No issues wit… 0
+#> 6 0 No issues with sex … 0 No issues wit… 0
+#> 7 0 No issues with sex … 0 No issues wit… 0
+#> 8 0 No issues with sex … 0 No issues wit… 0
+#> 9 0 No issues with sex … 0 No issues wit… 0
+#> 10 0 No issues with sex … 0 No issues wit… 0
+#> # ℹ 3,603 more rows
+#> # ℹ 3 more variables: code_check$code_check_note <chr>, dod_check <int>,
+#> # dod_check_note <chr>
+
+
cod_check_dod()
+ cod_check_codedit_input()
+ cod_check_code()
cod_check_code_structure_icd10()
cod_check_code_structure_icd11()
cod_check_code_ill_defined_icd10()
cod_check_code_ill_defined_icd11()
cod_check_code_unlikely_icd10()
cod_check_code_unlikely_icd11()
cod_check_code_sex_icd10_()
cod_check_code_sex_icd10()
cod_check_code_sex_icd11_()
cod_check_code_sex_icd11()