Skip to content

Commit

Permalink
Fixed incorrect name for numValidCat column in variable details sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
yulric committed Dec 11, 2024
1 parent 4a93e00 commit 9e7c1ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data-raw/prep_pbc_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pbc_variable_details <- read_csv("inst/extdata/pbc_variable_details.csv",
recStart = col_character(),
catLabel = col_character(),
catLabelLong = col_character(),
nubValidCat = col_double(),
numValidCat = col_double(),
units = col_logical(),
notes = col_logical(),
.default = col_character() # for any remaining columns
Expand Down
2 changes: 1 addition & 1 deletion inst/extdata/pbc_variable_details.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
variable,dummyVariable,typeEnd,databaseStart,variableStart,typeStart,recEnd,recStart,nubValidCat,catLabel,catLabelLong,catStartLabel,variableStartShortLabel,variableStartLabel,units,notes
variable,dummyVariable,typeEnd,databaseStart,variableStart,typeStart,recEnd,recStart,numValidCat,catLabel,catLabelLong,catStartLabel,variableStartShortLabel,variableStartLabel,units,notes
age,NA,cont,pbc,[age],cont,copy,"[20,80]",NA,NA,NA,NA,age,age,NA,NA
age,NA,cont,pbc,[age],cont,NA::b,else,NA,missing,missing,NA,age,age,NA,NA
age,NA,cont,pbc,[age],cont,NA::a,999,NA,not applicable,not applicable,NA,age,age,NA,NA
Expand Down

0 comments on commit 9e7c1ef

Please sign in to comment.