Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo in ETHNIC level #293

Merged
merged 4 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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