Skip to content

Commit 8204b25

Browse files
standardise cause-of-death spelling: fix #114
1 parent 8c3f0c8 commit 8204b25

20 files changed

+41
-41
lines changed

R/cod_check_age.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#'
2-
#' Check age values in cause of death data based on CoDEdit rules
2+
#' Check age values in cause-of-death data based on CoDEdit rules
33
#'
44
#' @param age_value An integer value or vector of values for age based on the
55
#' CoDEdit rules.

R/cod_check_code.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#'
2-
#' Check cause of death code for code entry mistakes and/or code completeness
2+
#' Check cause-of-death code for code entry mistakes and/or code completeness
33
#'
4-
#' @param cod A character value or vector of values for cause of death code/s.
4+
#' @param cod A character value or vector of values for cause-of-death code/s.
55
#' @param version A character value for ICD version used. This should be either
66
#' *"icd10"* or *"icd11"*. Default is *"icd10"*.
77
#' @param sex A character value or vector of values for sex of individual
@@ -10,7 +10,7 @@
1010
#' individual.
1111
#'
1212
#' @returns A tibble with 2 columns/fields. First is an integer value indicating
13-
#' whether there is an issue with the cause of death code provided in relation
13+
#' whether there is an issue with the cause-of-death code provided in relation
1414
#' to a potential code entry mistake and/or and issue of code completeness.
1515
#'
1616
#' @examples

R/cod_check_dod.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#'
2-
#' Check date of death value in cause of death data based on CoDEdit rules
2+
#' Check date of death value in cause-of-death data based on CoDEdit rules
33
#'
44
#' @param dod Date of death value expressed in terms of the year death
55
#' occurred.

R/cod_check_sex.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#'
2-
#' Check sex values in cause of death data based on CoDEdit rules
2+
#' Check sex values in cause-of-death data based on CoDEdit rules
33
#'
44
#' @param sex_value An integer value or vector of values for age based on the
55
#' CoDEdit rules.

R/cod_recode_age_type.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#'
2-
#' Recode age type of cause of death data based on CoDEdit rules
2+
#' Recode age type of cause-of-death data based on CoDEdit rules
33
#'
44
#' @param age_type A vector of values for age type based on the CoDEdit rules.
55
#' This should either be "D" for age in days, "M" for age

R/cod_recode_sex.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#'
2-
#' Recode sex value of cause of death data based on CoDEdit rules
2+
#' Recode sex value of cause-of-death data based on CoDEdit rules
33
#'
44
#' @param sex_value A character or integer value or vector of values signifying
55
#' the sex.

R/data.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121

122122

123123
#'
124-
#' Example raw cause of death dataset
124+
#' Example raw cause-of-death dataset
125125
#'
126126
#' @format A data frame with 6 columns and 20 rows:
127127
#'
@@ -130,7 +130,7 @@
130130
#' | *id* | Unique identifier |
131131
#' | *sex* | Sex of deceased |
132132
#' | *age* | Age of diseased in years |
133-
#' | *code* | ICD 11 cause of death code |
133+
#' | *code* | ICD 11 cause-of-death code |
134134
#' | *dod* | Date of death |
135135
#' | *dob* | Date of birth |
136136
#'
@@ -141,7 +141,7 @@
141141

142142

143143
#'
144-
#' Neonate-specific cause of death for ICD 10
144+
#' Neonate-specific cause-of-death for ICD 10
145145
#'
146146
#' @format A data frame with 2 columns and 42 rows:
147147
#'
@@ -160,7 +160,7 @@
160160

161161

162162
#'
163-
#' Neonate-specific cause of death for ICD 11
163+
#' Neonate-specific cause-of-death for ICD 11
164164
#'
165165
#' @format A data frame with 2 columns and 50 rows:
166166
#'
@@ -178,7 +178,7 @@
178178

179179

180180
#'
181-
#' Child-specific cause of death for ICD 10
181+
#' Child-specific cause-of-death for ICD 10
182182
#'
183183
#' @format A data frame with 2 columns and 122 rows:
184184
#'
@@ -197,7 +197,7 @@
197197

198198

199199
#'
200-
#' Child-specific cause of death for ICD 11
200+
#' Child-specific cause-of-death for ICD 11
201201
#'
202202
#' @format A data frame with 2 columns and 149 rows:
203203
#'

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ get_score_combo <- function(scores, labels) {
102102
#' List ill-defined ICD 11 codes
103103
#'
104104
#' @returns An character vector of ICD 11 codes classified as ill-defined for
105-
#' cause of death
105+
#' cause-of-death
106106
#'
107107
#' @examples
108108
#' list_ill_defined_icd11()

man/cod_check_age.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cod_check_code.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cod_check_dod.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cod_check_sex.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cod_data_raw_example.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cod_recode_age_type.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/cod_recode_sex.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/icd10_cod_child.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/icd10_cod_neonate.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/icd11_cod_child.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/icd11_cod_neonate.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/list_ill_defined_icd11.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)