From 962f67d9fda40be50c429328796c45a94651877e Mon Sep 17 00:00:00 2001 From: DanChaltiel Date: Sun, 2 Jun 2024 19:35:21 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20DanChalt?= =?UTF-8?q?iel/EDCimport@39544a0755746f6a845e345d55a8d2799465567c=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 2 +- articles/adverse_events.html | 1412 +++++++++++----------- articles/index.html | 2 +- authors.html | 6 +- index.html | 2 +- news/index.html | 10 +- pkgdown.yml | 2 +- reference/EDCimport-package.html | 2 +- reference/ae_plot_grade_max.html | 2 +- reference/ae_plot_grade_n.html | 2 +- reference/ae_plot_soc.html | 2 +- reference/ae_table_grade_max.html | 2 +- reference/ae_table_grade_n.html | 2 +- reference/ae_table_soc.html | 2 +- reference/assert_no_duplicate.html | 2 +- reference/assert_no_missing_patient.html | 120 ++ reference/assert_no_rows.html | 2 +- reference/build_lookup.html | 2 +- reference/data_example.html | 2 +- reference/edc_data_warn.html | 2 +- reference/edc_options.html | 4 +- reference/edc_peek_options.html | 2 +- reference/edc_reset_options.html | 2 +- reference/edc_swimmerplot.html | 2 +- reference/extend_lookup.html | 2 +- reference/fct_yesno.html | 2 +- reference/find_keyword.html | 2 +- reference/get_common_cols.html | 2 +- reference/get_datasets.html | 2 +- reference/get_key_cols.html | 2 +- reference/get_lookup.html | 2 +- reference/get_meta_cols.html | 2 +- reference/get_subjid_cols.html | 2 +- reference/index.html | 4 +- reference/lastnews_table.html | 2 +- reference/load_as_list.html | 2 +- reference/load_list.html | 2 +- reference/manual_correction.html | 2 +- reference/read_tm_all_xpt.html | 2 +- reference/read_trialmaster.html | 2 +- reference/reexports.html | 2 +- reference/save_list.html | 2 +- reference/save_plotly.html | 2 +- reference/split_mixed_datasets.html | 6 +- reference/table_format.html | 2 +- reference/unify.html | 2 +- reference/waterfall_plot.html | 2 +- search.json | 2 +- sitemap.xml | 6 +- 49 files changed, 885 insertions(+), 765 deletions(-) create mode 100644 reference/assert_no_missing_patient.html diff --git a/404.html b/404.html index b27314f..019cfb3 100644 --- a/404.html +++ b/404.html @@ -24,7 +24,7 @@ EDCimport - 0.4.1.9028 + 0.4.1.9029 + + + + + +
+
+
+ +
+

Compare a subject ID vector to the study's reference subject ID (usually something like enrolres$subjid). check_subjid() is the old, deprecated name.

+
+ +
+

Usage

+
assert_no_missing_patient(x, ref = getOption("edc_subjid_ref"))
+
+ +
+

Arguments

+
x
+

the subject ID column to check, or a dataframe which ID column will be guessed

+ + +
ref
+

the reference for subject ID. Should usually be set through edc_options(edc_subjid_ref=xxx). See example.

+ +
+
+

Value

+ + +

nothing, called for errors/warnings

+
+ +
+

Examples

+
tm = edc_example()
+#> Warning: Option "edc_lookup" has been overwritten.
+load_list(tm)
+options(edc_subjid_ref=db0$SUBJID)
+#usually, you set something like:
+#options(edc_subjid_ref=enrolres$subjid)
+assert_no_missing_patient(db1)
+db1 %>% dplyr::filter(SUBJID>1) %>% assert_no_missing_patient()
+#> Warning: Missing 1 subject ID in `.`: 1
+assert_no_missing_patient(c(db1$SUBJID, 99, 999))
+#> Warning: Additional 2 subjects ID in `c(db1$SUBJID, 99, 999)`: 99 and 999
+
+
+
+ + +
+ + + +
+ + + + + + + diff --git a/reference/assert_no_rows.html b/reference/assert_no_rows.html index b9df085..45df5f8 100644 --- a/reference/assert_no_rows.html +++ b/reference/assert_no_rows.html @@ -12,7 +12,7 @@ EDCimport - 0.4.1.9028 + 0.4.1.9029