From d3f1bbf470d67d61f4d7e123fcf1cd233da2d4a1 Mon Sep 17 00:00:00 2001
From: edward-burn <9583964+edward-burn@users.noreply.github.com>
Date: Sun, 8 Dec 2024 17:08:17 +0000
Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20OHDSI/Co?=
=?UTF-8?q?hortConstructor@0e4c83b6a7e38d56ddcd505af48ba9ed4017c45f=20?=
=?UTF-8?q?=F0=9F=9A=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
articles/a06_concatanate_cohorts.html | 10 +++++-----
articles/a07_filter_cohorts.html | 24 ++++++++++++------------
pkgdown.yml | 2 +-
reference/entryAtFirstDate.html | 4 ++--
reference/entryAtLastDate.html | 4 ++--
reference/exitAtDeath.html | 18 +++++++++---------
reference/exitAtFirstDate.html | 8 ++++----
reference/exitAtLastDate.html | 4 ++--
reference/exitAtObservationEnd.html | 8 ++++----
reference/matchCohorts.html | 18 +++++++++---------
reference/padCohortDate.html | 14 +++++++-------
reference/padCohortEnd.html | 8 ++++----
reference/padCohortStart.html | 20 ++++++++++----------
reference/requireCohortIntersect.html | 20 ++++++++++----------
reference/sampleCohorts.html | 14 +++++++-------
reference/stratifyCohorts.html | 10 +++++-----
search.json | 2 +-
17 files changed, 94 insertions(+), 94 deletions(-)
diff --git a/articles/a06_concatanate_cohorts.html b/articles/a06_concatanate_cohorts.html
index 9351051..2cf5c59 100644
--- a/articles/a06_concatanate_cohorts.html
+++ b/articles/a06_concatanate_cohorts.html
@@ -130,7 +130,7 @@
cdm$medications |>
filter(subject_id == 1)
#> # Source: SQL [4 x 4]
-#> # Database: DuckDB v1.1.3-dev165 [unknown@Linux 6.5.0-1025-azure:R 4.4.2//tmp/RtmpgqFpW3/file1df322b11420.duckdb]
+#> # Database: DuckDB v1.1.3-dev165 [unknown@Linux 6.5.0-1025-azure:R 4.4.2//tmp/Rtmpv48Guv/file1dba6c990875.duckdb]
#> cohort_definition_id subject_id cohort_start_date cohort_end_date
#> <int> <int> <date> <date>
#> 1 1 1 1976-10-20 1976-11-03
@@ -140,12 +140,12 @@
cdm$medications_collapsed |>
filter(subject_id == 1)
#> # Source: SQL [3 x 4]
-#> # Database: DuckDB v1.1.3-dev165 [unknown@Linux 6.5.0-1025-azure:R 4.4.2//tmp/RtmpgqFpW3/file1df322b11420.duckdb]
+#> # Database: DuckDB v1.1.3-dev165 [unknown@Linux 6.5.0-1025-azure:R 4.4.2//tmp/Rtmpv48Guv/file1dba6c990875.duckdb]
#> cohort_definition_id subject_id cohort_start_date cohort_end_date
#> <int> <int> <date> <date>
-#> 1 1 1 1976-10-20 1976-11-03
-#> 2 1 1 1980-03-15 1982-10-02
-#> 3 1 1 1971-01-04 1971-01-18
+#> 1 1 1 1971-01-04 1971-01-18
+#> 2 1 1 1976-10-20 1976-11-03
+#> 3 1 1 1980-03-15 1982-10-02
Subject 1 initially had 4 records between 1971 and 1982. After specifying that records within three years of each other are to be merged, the number of records decreases to three. The record from diff --git a/articles/a07_filter_cohorts.html b/articles/a07_filter_cohorts.html index 19128a3..5b34700 100644 --- a/articles/a07_filter_cohorts.html +++ b/articles/a07_filter_cohorts.html @@ -117,26 +117,26 @@
cdm$medications |> sampleCohorts(cohortId = NULL, n = 100)
#> # Source: table<main.my_study_medications> [?? x 4]
-#> # Database: DuckDB v1.1.3-dev165 [unknown@Linux 6.5.0-1025-azure:R 4.4.2//tmp/Rtmp3ZqYDn/file1e365844a6f7.duckdb]
+#> # Database: DuckDB v1.1.3-dev165 [unknown@Linux 6.5.0-1025-azure:R 4.4.2//tmp/Rtmpz2NbS6/file1dfe226f5ded.duckdb]
#> cohort_definition_id subject_id cohort_start_date cohort_end_date
#> <int> <int> <date> <date>
-#> 1 1 597 2015-07-27 2015-08-03
-#> 2 1 5081 1970-07-07 1970-07-21
-#> 3 1 3583 1988-01-26 1988-02-09
-#> 4 1 2927 1983-03-09 1983-06-07
-#> 5 2 1718 2010-07-28 2010-07-28
-#> 6 1 939 2014-09-13 2014-09-20
-#> 7 1 2027 2002-11-03 2002-11-10
-#> 8 1 4255 1990-09-07 1990-09-14
-#> 9 1 2046 2001-01-31 2001-02-07
-#> 10 1 4945 2008-03-10 2008-03-24
+#> 1 2 4799 1997-02-19 1997-02-19
+#> 2 1 2261 2017-04-12 2017-04-26
+#> 3 2 2985 2001-12-23 2001-12-23
+#> 4 1 2080 1992-02-06 1992-02-27
+#> 5 1 4872 1952-08-14 1952-08-21
+#> 6 1 1905 2018-01-20 2018-02-03
+#> 7 1 3759 2010-07-05 2010-07-19
+#> 8 1 1966 2013-07-12 2013-07-26
+#> 9 1 3997 2001-04-01 2001-04-15
+#> 10 1 5096 2000-09-02 2000-09-16
#> # ℹ more rows
cohortCount(cdm$medications)
#> # A tibble: 2 × 3
#> cohort_definition_id number_records number_subjects
#> <int> <int> <int>
-#> 1 1 380 100
+#> 1 1 403 100
#> 2 2 100 100
When cohortId = NULL all cohorts in the table are used. Note that this function does not reduced the number of records in each cohort, diff --git a/pkgdown.yml b/pkgdown.yml index 2ab249f..8ce1bc8 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -14,7 +14,7 @@ articles: a09_combine_cohorts: a09_combine_cohorts.html a10_match_cohorts: a10_match_cohorts.html a11_benchmark: a11_benchmark.html -last_built: 2024-12-08T16:12Z +last_built: 2024-12-08T17:01Z urls: reference: https://ohdsi.github.io/CohortConstructor/reference article: https://ohdsi.github.io/CohortConstructor/articles diff --git a/reference/entryAtFirstDate.html b/reference/entryAtFirstDate.html index 51b03c4..c396eca 100644 --- a/reference/entryAtFirstDate.html +++ b/reference/entryAtFirstDate.html @@ -146,8 +146,8 @@