-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
98 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#' Auto-categorisations | ||
#' | ||
#' A list of pre-defined pairings between DataElement (variable) and domain code. \cr \cr | ||
#' For each DataElement that domain_mapping.R processes: \cr \cr | ||
#' If it is contained within this look-up table, it uses the auto-categorised domain code rather than asking the user to categorise.\cr\cr | ||
#' This data was created with these two steps: | ||
#' \enumerate{ | ||
#' \item \code{look_up <- read.csv('browseMetadata/data-raw/look_up.csv')} | ||
#' \item \code{usethis::use_data(look_up)} | ||
#' } | ||
#' @docType data | ||
# | ||
#' @usage data(look_up) | ||
#' | ||
#' @format A data frame with a variable number of rows and 3 columns | ||
#' | ||
#' @source The csv was manually created | ||
"look_up" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
DataElement,DomainLabel,DomainCode | ||
NA,No Match / Unsure,0 | ||
AVAIL_FROM_DT,Metadata,1 | ||
ALF_E,ALF ID,2 | ||
MOTHER_ALF_E,ALF ID,2 | ||
CHILD_ALF_E,ALF ID,2 | ||
RALF,ALF ID,2 | ||
ALF_STS_CD,ALF ID,2 | ||
MOTHER_ALF_STS_CD,ALF ID,2 | ||
CHILD_ALF_STS_CD,ALF ID,2 | ||
ALF_MTCH_PCT,ALF ID,2 | ||
MOTHER_ALF_MTCH_PCT,ALF ID,2 | ||
CHILD_ALF_MTCH_PCT,ALF ID,2 | ||
SERVICE_USER_LOCAL_ID_E,OTHER ID,3 | ||
MAT_SERVICE_USER_LOCAL_ID_E,OTHER ID,3 | ||
CLIENT_ID_E,OTHER ID,3 | ||
AGE,Demographics,4 | ||
MAT_AGE,Demographics,4 | ||
MAT_AGE_AT_ASS,Demographics,4 | ||
CONTACT_AGE,Demographics,4 | ||
WOB,Demographics,4 | ||
MAT_WOB,Demographics,4 | ||
SEX,Demographics,4 | ||
SERVICE_USER_SEX_CD,Demographics,4 | ||
NENONATE_SEX_CD,Demographics,4 | ||
GENDER,Demographics,4 | ||
GNDR,Demographics,4 | ||
GNDR_CD,Demographics,4 |
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.