diff --git a/DESCRIPTION b/DESCRIPTION index a08f3ad..4201e0a 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: stRoke Title: Tools for work in clinical stroke research -Version: 0.22.12.2 +Version: 0.22.12.3 Authors@R: person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7559-1154")) @@ -29,5 +29,5 @@ Imports: tidyr Depends: R (>= 2.10) -Remotes: - SpectrumHealthResearch/REDCapRITS/R +Remotes: + agdamsbo/REDCapRITS/R diff --git a/NAMESPACE b/NAMESPACE index b2ff1e2..d7b294f 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -10,7 +10,7 @@ export(index_plot) export(label_select) export(plot_olr) export(quantile_cut) -export(read_redcap_data) +export(read_redcap_tables) export(source_lines) import(ggplot2) importFrom(MASS,polr) diff --git a/R/ci_plot.R b/R/ci_plot.R index c88a06e..334b3a3 100644 --- a/R/ci_plot.R +++ b/R/ci_plot.R @@ -17,13 +17,7 @@ utils::globalVariables(c("vname")) #' #' @import ggplot2 #' @importFrom MASS polr -#' @importFrom stats as.formula -#' @importFrom stats coef -#' @importFrom stats confint -#' @importFrom stats formula -#' @importFrom stats lm -#' @importFrom stats quantile -#' @importFrom stats reorder +#' @importFrom stats as.formula coef confint formula lm quantile reorder #' #' @examples #' data(talos) diff --git a/docs/404.html b/docs/404.html index 55c4688..886a0be 100644 --- a/docs/404.html +++ b/docs/404.html @@ -24,7 +24,7 @@ stRoke - 0.22.12.2 + 0.22.12.3 + + + + + +
+
+
+ +
+

Wrapper function for using REDCapR::redcap_read and REDCapRITS::REDCap_split including some clean-up. +Handles

+
+ +
+

Usage

+
read_redcap_tables(
+  uri,
+  token,
+  records = NULL,
+  fields = NULL,
+  events = NULL,
+  forms = NULL,
+  generics = c("record_id", "redcap_event_name", "redcap_repeat_instrument",
+    "redcap_repeat_instance")
+)
+
+ +
+

Arguments

+
uri
+

REDCap database uri

+ + +
token
+

API token

+ + +
records
+

records to download

+ + +
fields
+

fields to download

+ + +
events
+

events to download

+ + +
forms
+

forms to download

+ + +
generics
+

vector of auto-generated generic variable names to ignore when discarding empty rows

+ +
+
+

Value

+ + +

list of instruments

+
+ +
+

Examples

+
# Examples will be provided later
+
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/docs/reference/score.html b/docs/reference/score.html index 5a2fac7..85be152 100644 --- a/docs/reference/score.html +++ b/docs/reference/score.html @@ -10,7 +10,7 @@ stRoke - 0.22.12.2 + 0.22.12.3