diff --git a/DESCRIPTION b/DESCRIPTION index e111e20c..c251e7e8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: REDCapTidieR Type: Package Title: Extract 'REDCap' Databases into Tidy 'Tibble's -Version: 1.2.1.9000 +Version: 1.2.1 Authors@R: c( person("Richard", "Hanna", , "richardshanna91@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0009-0005-6496-8154")), diff --git a/NEWS.md b/NEWS.md index bea99c89..26b94faa 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,7 @@ -# REDCapTidieR 1.2.1 (development version) +# REDCapTidieR 1.2.1 - For longitudinal REDCap projects, the `redcap_events` column has been updated to give REDCap event factor levels and order for the `redcap_event` and `event_name` columns +- Fixed a bug where `read_redcap()` would fail for projects containing a stand-alone record ID instrument # REDCapTidieR 1.2.0 diff --git a/R/read_redcap.R b/R/read_redcap.R index 16a1ac47..1c0baeea 100644 --- a/R/read_redcap.R +++ b/R/read_redcap.R @@ -336,7 +336,6 @@ read_redcap <- function(redcap_uri, #' #' @keywords internal get_fields_to_drop <- function(db_metadata, form) { - # Always drop form complete field which is not in metadata but should be removed from res <- paste0(form, "_complete")