Skip to content

Commit

Permalink
Fix typo in ETHNIC level (#293)
Browse files Browse the repository at this point in the history
Closes #292
  • Loading branch information
edelarua authored Sep 6, 2023
1 parent 5229d9d commit b0067fc
Show file tree
Hide file tree
Showing 22 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
### New features
* Asynchronous cached data updates in `rebuild_cached_data` vignette - data is only updated if its (or its dependency's) source file has been updated.

### Enhancements
* Updated level of `ETHNIC` variable in all datasets from `" NOT REPORTED"` to `"NOT REPORTED"`.

# random.cdisc.data 0.3.14

### Breaking changes
Expand Down
2 changes: 1 addition & 1 deletion R/radsl.R
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ radsl <- function(N = 400, # nolint
# add random ETHNIC (Ethnicity)
adsl <- adsl %>%
dplyr::mutate(ETHNIC = sample(
x = c("HISPANIC OR LATINO", "NOT HISPANIC OR LATINO", " NOT REPORTED", "UNKNOWN"),
x = c("HISPANIC OR LATINO", "NOT HISPANIC OR LATINO", "NOT REPORTED", "UNKNOWN"),
size = N, replace = TRUE, prob = c(.1, .8, .06, .04)
))

Expand Down
Binary file modified data/cadae.RData
Binary file not shown.
Binary file modified data/cadaette.RData
Binary file not shown.
Binary file modified data/cadcm.RData
Binary file not shown.
Binary file modified data/caddv.RData
Binary file not shown.
Binary file modified data/cadeg.RData
Binary file not shown.
Binary file modified data/cadex.RData
Binary file not shown.
Binary file modified data/cadhy.RData
Binary file not shown.
Binary file modified data/cadlb.RData
Binary file not shown.
Binary file modified data/cadmh.RData
Binary file not shown.
Binary file modified data/cadpc.RData
Binary file not shown.
Binary file modified data/cadpp.RData
Binary file not shown.
Binary file modified data/cadqlqc.RData
Binary file not shown.
Binary file modified data/cadqs.RData
Binary file not shown.
Binary file modified data/cadrs.RData
Binary file not shown.
Binary file modified data/cadsl.RData
Binary file not shown.
Binary file modified data/cadsub.RData
Binary file not shown.
Binary file modified data/cadtr.RData
Binary file not shown.
Binary file modified data/cadtte.RData
Binary file not shown.
Binary file modified data/cadvs.RData
Binary file not shown.
2 changes: 1 addition & 1 deletion vignettes/rebuild_cached_data.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ flatten_list_of_deps <- function(updated_data, data_deps) {
# Extracting higher dependencies for each value
cnt <- 1
while (cnt < length(fin_up)) {
while (cnt <= length(fin_up)) {
cur_deps <- unlist(
get_higher_deps(fin_up[cnt], data_deps)
)
Expand Down

0 comments on commit b0067fc

Please sign in to comment.