mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-21 05:59:07 +02:00
minor changes
This commit is contained in:
parent
b63fbbe3c9
commit
a7a416fe1d
9 changed files with 34 additions and 21 deletions
|
|
@ -1,5 +1,9 @@
|
|||
mtcars |> dplyr::mutate(record_id=seq_len(n()),
|
||||
mtcars_redcap <- mtcars |> dplyr::mutate(record_id=seq_len(dplyr::n()),
|
||||
name=rownames(mtcars)
|
||||
) |>
|
||||
dplyr::select(record_id,dplyr::everything()) |>
|
||||
dplyr::select(record_id,dplyr::everything())
|
||||
|
||||
mtcars_redcap |>
|
||||
write.csv(here::here("data/mtcars_redcap.csv"),row.names = FALSE)
|
||||
|
||||
usethis::use_data(mtcars_redcap, overwrite = TRUE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue