From 891a8e246dbb8dfa7821e0a23286f9a748e01830 Mon Sep 17 00:00:00 2001 From: AG Damsbo Date: Wed, 21 Dec 2022 07:30:06 +0100 Subject: [PATCH] trying to eliminate github action error. using private mirror of REDCapRITS. --- DESCRIPTION | 6 +- NAMESPACE | 2 +- R/ci_plot.R | 8 +- docs/404.html | 2 +- docs/authors.html | 6 +- docs/index.html | 2 +- docs/pkgdown.yml | 2 +- docs/reference/age_calc.html | 2 +- docs/reference/ci_plot.html | 2 +- docs/reference/cpr_check.html | 2 +- docs/reference/cpr_dob.html | 2 +- docs/reference/cpr_female.html | 2 +- docs/reference/cprs.html | 2 +- docs/reference/generic_stroke.html | 96 +++++++------- docs/reference/index.html | 4 +- docs/reference/index_plot.html | 2 +- docs/reference/label_select.html | 96 +++++++------- docs/reference/plot_olr-1.png | Bin 90887 -> 92614 bytes docs/reference/plot_olr.html | 2 +- docs/reference/quantile_cut.html | 6 +- docs/reference/read_redcap_tables.html | 122 ++++++++++++++++++ docs/reference/score.html | 2 +- docs/reference/source_lines.html | 2 +- docs/reference/stRoke-package.html | 2 +- docs/reference/talos.html | 2 +- docs/search.json | 2 +- docs/sitemap.xml | 3 + ...d_redcap_data.Rd => read_redcap_tables.Rd} | 8 +- 28 files changed, 254 insertions(+), 135 deletions(-) create mode 100644 docs/reference/read_redcap_tables.html rename man/{read_redcap_data.Rd => read_redcap_tables.Rd} (86%) 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