From c7970065dc1b8df7be902a7fd2e105a6e4e75d47 Mon Sep 17 00:00:00 2001 From: Milan Malfait <38256462+milanmlft@users.noreply.github.com> Date: Fri, 23 Aug 2024 16:12:31 +0100 Subject: [PATCH] Update test data (really the last time now) --- inst/test_data/calypso_concepts.csv | 8 +++--- inst/test_data/calypso_monthly_counts.csv | 28 +++++++++---------- inst/test_data/calypso_summary_stats.csv | 16 +++++------ .../_snaps/utils_get_data/concepts_table.csv | 8 +++--- .../_snaps/utils_get_data/monthly_counts.csv | 28 +++++++++---------- .../_snaps/utils_get_data/summary_stats.csv | 16 +++++------ 6 files changed, 52 insertions(+), 52 deletions(-) diff --git a/inst/test_data/calypso_concepts.csv b/inst/test_data/calypso_concepts.csv index c4f9a3b..f6dcdb0 100644 --- a/inst/test_data/calypso_concepts.csv +++ b/inst/test_data/calypso_concepts.csv @@ -1,10 +1,10 @@ concept_id,concept_name,vocabulary_id,domain_id,concept_class_id,standard_concept,concept_code +3001079,Blood group antibody screen [Presence] in Serum or Plasma,LOINC,Measurement,Lab Test,S,890-4 4108450,Inspiration/expiration time ratio,SNOMED,Measurement,Observable Entity,S,250822000 +4128111,T - Tumor stage,SNOMED,Observation,Attribute,S,260878002 +4248525,Lying systolic blood pressure,SNOMED,Measurement,Observable Entity,S,407556006 4353713,Positive end expiratory pressure,SNOMED,Observation,Observable Entity,S,250854009 4353717,Ventilator delivered minute volume,SNOMED,Observation,Observable Entity,S,250875001 -4354252,Non-invasive systolic arterial pressure,SNOMED,Measurement,Observable Entity,S,251070002 4353843,Invasive systolic arterial pressure,SNOMED,Measurement,Observable Entity,S,251071003 -4128111,T - Tumor stage,SNOMED,Observation,Attribute,S,260878002 -3001079,Blood group antibody screen [Presence] in Serum or Plasma,LOINC,Measurement,Lab Test,S,890-4 -4248525,Lying systolic blood pressure,SNOMED,Measurement,Observable Entity,S,407556006 +4354252,Non-invasive systolic arterial pressure,SNOMED,Measurement,Observable Entity,S,251070002 45766147,Appearance,SNOMED,Observation,Observable Entity,S,703248002 diff --git a/inst/test_data/calypso_monthly_counts.csv b/inst/test_data/calypso_monthly_counts.csv index b760489..1d8d600 100644 --- a/inst/test_data/calypso_monthly_counts.csv +++ b/inst/test_data/calypso_monthly_counts.csv @@ -1,23 +1,23 @@ concept_id,concept_name,date_year,date_month,person_count,records_per_person +3001079,Blood group antibody screen [Presence] in Serum or Plasma,2020,5,1,1 +4108450,Inspiration/expiration time ratio,2019,9,1,1 +4128111,T - Tumor stage,2020,11,1,1 +4128111,T - Tumor stage,2020,12,1,1 +4248525,Lying systolic blood pressure,2019,5,1,1 4248525,Lying systolic blood pressure,2019,10,1,1 4248525,Lying systolic blood pressure,2020,6,1,1 -4354252,Non-invasive systolic arterial pressure,2019,8,1,1 4248525,Lying systolic blood pressure,2021,10,1,1 -4353843,Invasive systolic arterial pressure,2023,4,1,1 -4128111,T - Tumor stage,2020,11,1,1 +4353713,Positive end expiratory pressure,2019,2,1,1 +4353713,Positive end expiratory pressure,2021,7,1,1 +4353717,Ventilator delivered minute volume,2021,5,1,1 +4353717,Ventilator delivered minute volume,2022,12,1,1 +4353843,Invasive systolic arterial pressure,2021,9,1,1 4353843,Invasive systolic arterial pressure,2021,10,1,1 -3001079,Blood group antibody screen [Presence] in Serum or Plasma,2020,5,1,1 -4354252,Non-invasive systolic arterial pressure,2021,11,1,1 4353843,Invasive systolic arterial pressure,2021,12,1,1 -4354252,Non-invasive systolic arterial pressure,2021,6,1,1 -4108450,Inspiration/expiration time ratio,2019,9,1,1 +4353843,Invasive systolic arterial pressure,2023,4,1,1 +4354252,Non-invasive systolic arterial pressure,2019,8,1,1 4354252,Non-invasive systolic arterial pressure,2020,8,1,1 -4248525,Lying systolic blood pressure,2019,5,1,1 -4353843,Invasive systolic arterial pressure,2021,9,1,1 -4128111,T - Tumor stage,2020,12,1,1 4354252,Non-invasive systolic arterial pressure,2021,2,1,1 +4354252,Non-invasive systolic arterial pressure,2021,6,1,1 +4354252,Non-invasive systolic arterial pressure,2021,11,1,1 45766147,Appearance,2022,6,1,1 -4353717,Ventilator delivered minute volume,2021,5,1,1 -4353713,Positive end expiratory pressure,2019,2,1,1 -4353717,Ventilator delivered minute volume,2022,12,1,1 -4353713,Positive end expiratory pressure,2021,7,1,1 diff --git a/inst/test_data/calypso_summary_stats.csv b/inst/test_data/calypso_summary_stats.csv index 9bab031..6d41528 100644 --- a/inst/test_data/calypso_summary_stats.csv +++ b/inst/test_data/calypso_summary_stats.csv @@ -1,17 +1,17 @@ concept_id,concept_name,summary_attribute,value_as_number,value_as_string -4248525,Lying systolic blood pressure,mean,132.8,NA -4354252,Non-invasive systolic arterial pressure,mean,123.66666666666667,NA +3001079,Blood group antibody screen [Presence] in Serum or Plasma,frequency,2,Not present 4108450,Inspiration/expiration time ratio,mean,0.6666666666666666,NA -4353843,Invasive systolic arterial pressure,mean,128.83333333333334,NA -4353843,Invasive systolic arterial pressure,sd,23.65938855225694,NA -4354252,Non-invasive systolic arterial pressure,sd,9.993331109628395,NA -4248525,Lying systolic blood pressure,sd,21.25323504786977,NA 4108450,Inspiration/expiration time ratio,sd,0,NA 4128111,T - Tumor stage,frequency,1,NA -3001079,Blood group antibody screen [Presence] in Serum or Plasma,frequency,2,Not present 4128111,T - Tumor stage,frequency,1,NA -4353717,Ventilator delivered minute volume,mean,12.799999999999999,NA +4248525,Lying systolic blood pressure,mean,132.8,NA +4248525,Lying systolic blood pressure,sd,21.25323504786977,NA 4353713,Positive end expiratory pressure,mean,5.666666666666667,NA 4353713,Positive end expiratory pressure,sd,1.1547005383792517,NA +4353717,Ventilator delivered minute volume,mean,12.799999999999999,NA 4353717,Ventilator delivered minute volume,sd,3.469870314579495,NA +4353843,Invasive systolic arterial pressure,mean,128.83333333333334,NA +4353843,Invasive systolic arterial pressure,sd,23.65938855225694,NA +4354252,Non-invasive systolic arterial pressure,mean,123.66666666666667,NA +4354252,Non-invasive systolic arterial pressure,sd,9.993331109628395,NA 45766147,Appearance,frequency,1,Well nourished diff --git a/tests/testthat/_snaps/utils_get_data/concepts_table.csv b/tests/testthat/_snaps/utils_get_data/concepts_table.csv index c4f9a3b..f6dcdb0 100644 --- a/tests/testthat/_snaps/utils_get_data/concepts_table.csv +++ b/tests/testthat/_snaps/utils_get_data/concepts_table.csv @@ -1,10 +1,10 @@ concept_id,concept_name,vocabulary_id,domain_id,concept_class_id,standard_concept,concept_code +3001079,Blood group antibody screen [Presence] in Serum or Plasma,LOINC,Measurement,Lab Test,S,890-4 4108450,Inspiration/expiration time ratio,SNOMED,Measurement,Observable Entity,S,250822000 +4128111,T - Tumor stage,SNOMED,Observation,Attribute,S,260878002 +4248525,Lying systolic blood pressure,SNOMED,Measurement,Observable Entity,S,407556006 4353713,Positive end expiratory pressure,SNOMED,Observation,Observable Entity,S,250854009 4353717,Ventilator delivered minute volume,SNOMED,Observation,Observable Entity,S,250875001 -4354252,Non-invasive systolic arterial pressure,SNOMED,Measurement,Observable Entity,S,251070002 4353843,Invasive systolic arterial pressure,SNOMED,Measurement,Observable Entity,S,251071003 -4128111,T - Tumor stage,SNOMED,Observation,Attribute,S,260878002 -3001079,Blood group antibody screen [Presence] in Serum or Plasma,LOINC,Measurement,Lab Test,S,890-4 -4248525,Lying systolic blood pressure,SNOMED,Measurement,Observable Entity,S,407556006 +4354252,Non-invasive systolic arterial pressure,SNOMED,Measurement,Observable Entity,S,251070002 45766147,Appearance,SNOMED,Observation,Observable Entity,S,703248002 diff --git a/tests/testthat/_snaps/utils_get_data/monthly_counts.csv b/tests/testthat/_snaps/utils_get_data/monthly_counts.csv index b760489..1d8d600 100644 --- a/tests/testthat/_snaps/utils_get_data/monthly_counts.csv +++ b/tests/testthat/_snaps/utils_get_data/monthly_counts.csv @@ -1,23 +1,23 @@ concept_id,concept_name,date_year,date_month,person_count,records_per_person +3001079,Blood group antibody screen [Presence] in Serum or Plasma,2020,5,1,1 +4108450,Inspiration/expiration time ratio,2019,9,1,1 +4128111,T - Tumor stage,2020,11,1,1 +4128111,T - Tumor stage,2020,12,1,1 +4248525,Lying systolic blood pressure,2019,5,1,1 4248525,Lying systolic blood pressure,2019,10,1,1 4248525,Lying systolic blood pressure,2020,6,1,1 -4354252,Non-invasive systolic arterial pressure,2019,8,1,1 4248525,Lying systolic blood pressure,2021,10,1,1 -4353843,Invasive systolic arterial pressure,2023,4,1,1 -4128111,T - Tumor stage,2020,11,1,1 +4353713,Positive end expiratory pressure,2019,2,1,1 +4353713,Positive end expiratory pressure,2021,7,1,1 +4353717,Ventilator delivered minute volume,2021,5,1,1 +4353717,Ventilator delivered minute volume,2022,12,1,1 +4353843,Invasive systolic arterial pressure,2021,9,1,1 4353843,Invasive systolic arterial pressure,2021,10,1,1 -3001079,Blood group antibody screen [Presence] in Serum or Plasma,2020,5,1,1 -4354252,Non-invasive systolic arterial pressure,2021,11,1,1 4353843,Invasive systolic arterial pressure,2021,12,1,1 -4354252,Non-invasive systolic arterial pressure,2021,6,1,1 -4108450,Inspiration/expiration time ratio,2019,9,1,1 +4353843,Invasive systolic arterial pressure,2023,4,1,1 +4354252,Non-invasive systolic arterial pressure,2019,8,1,1 4354252,Non-invasive systolic arterial pressure,2020,8,1,1 -4248525,Lying systolic blood pressure,2019,5,1,1 -4353843,Invasive systolic arterial pressure,2021,9,1,1 -4128111,T - Tumor stage,2020,12,1,1 4354252,Non-invasive systolic arterial pressure,2021,2,1,1 +4354252,Non-invasive systolic arterial pressure,2021,6,1,1 +4354252,Non-invasive systolic arterial pressure,2021,11,1,1 45766147,Appearance,2022,6,1,1 -4353717,Ventilator delivered minute volume,2021,5,1,1 -4353713,Positive end expiratory pressure,2019,2,1,1 -4353717,Ventilator delivered minute volume,2022,12,1,1 -4353713,Positive end expiratory pressure,2021,7,1,1 diff --git a/tests/testthat/_snaps/utils_get_data/summary_stats.csv b/tests/testthat/_snaps/utils_get_data/summary_stats.csv index 6114217..c5017c1 100644 --- a/tests/testthat/_snaps/utils_get_data/summary_stats.csv +++ b/tests/testthat/_snaps/utils_get_data/summary_stats.csv @@ -1,17 +1,17 @@ concept_id,concept_name,summary_attribute,value_as_number,value_as_string -4248525,Lying systolic blood pressure,mean,132.8,NA -4354252,Non-invasive systolic arterial pressure,mean,123.66666666666669,NA +3001079,Blood group antibody screen [Presence] in Serum or Plasma,frequency,2,Not present 4108450,Inspiration/expiration time ratio,mean,0.6666666666666666,NA -4353843,Invasive systolic arterial pressure,mean,128.83333333333334,NA -4353843,Invasive systolic arterial pressure,sd,23.65938855225694,NA -4354252,Non-invasive systolic arterial pressure,sd,9.993331109628397,NA -4248525,Lying systolic blood pressure,sd,21.25323504786977,NA 4108450,Inspiration/expiration time ratio,sd,0,NA 4128111,T - Tumor stage,frequency,1,NA -3001079,Blood group antibody screen [Presence] in Serum or Plasma,frequency,2,Not present 4128111,T - Tumor stage,frequency,1,NA -4353717,Ventilator delivered minute volume,mean,12.8,NA +4248525,Lying systolic blood pressure,mean,132.8,NA +4248525,Lying systolic blood pressure,sd,21.25323504786977,NA 4353713,Positive end expiratory pressure,mean,5.666666666666667,NA 4353713,Positive end expiratory pressure,sd,1.1547005383792517,NA +4353717,Ventilator delivered minute volume,mean,12.8,NA 4353717,Ventilator delivered minute volume,sd,3.469870314579495,NA +4353843,Invasive systolic arterial pressure,mean,128.83333333333334,NA +4353843,Invasive systolic arterial pressure,sd,23.65938855225694,NA +4354252,Non-invasive systolic arterial pressure,mean,123.66666666666669,NA +4354252,Non-invasive systolic arterial pressure,sd,9.993331109628397,NA 45766147,Appearance,frequency,1,Well nourished