Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Nov 13, 2023
1 parent f6b0946 commit a904ac5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data-raw/DATASET.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ attr(discovery$variable_label, 'label') <- "Variable Label"
attr(discovery$package, 'label') <- "Admiral Package"
attr(discovery$fn, 'label') <- "Function"
attr(discovery$fn_url, 'label') <- "Function URL"
attr(discovery$adam_ig_reference, 'label') <- "ADaM Implmentation Guide Reference"
attr(discovery$resource1_text, 'label') <- "Resource Link Text"
attr(discovery$resource1_url, 'label') <- "Resource URL"

if (discovery |> dplyr::mutate(.by = c("dataset", "variable"), N = dplyr::n()) |> dplyr::pull(N) |> max() > 1L)
cli::cli_abort(c("x" = "DUPLICATE VARIABLES FOUND!"))
Expand Down
Binary file modified data/discovery.rda
Binary file not shown.

0 comments on commit a904ac5

Please sign in to comment.