Changelog
Source:NEWS.md
diseasystore 0.3.0
Breaking change
- Additional arguments (
...
) are now passed to the$compute()
and$get()
functions in?FeatureHandler
(#162). Furthermore, a reference to thediseasystore
is now passed to$compute()
asds
to give theFeatureHandler
access to other features via$get_feature()
.
New Features
New age helpers
add_years()
andage_on_date()
has been added to help compute features for individual data (#125).Added the fields
$available_observables
and$available_features
for easier overview (#139).The data availability period for each
diseasystore
is now exposed via the$min_start_date
and$max_end_date
fields (#138).diseasystores
can now have variable backend support (#175). In case a backend is insufficient to support the computations, the backend can be blocked for thediseasystore
.test_diseasystore()
now have askip_backend
argument to skip tests for the disallowed backends.Added the
DiseasystoreSimulist
which implements a synthetic, individual-level, data set generated withsimulist
.
Minor Improvements and Fixes
A bug was fixed where data was duplicated when features were not divided into separate tables (#192).
-
Two bugs were fixed in
$determine_new_ranges()
where existing tables were not detected: Long stratification expression are now properly parsed in
$key_join_features()
(#161).When creating your own
diseasystore
it is now easier to inherit from the base module (#189).When creating your own
diseasystore
it is now easier to inherit from the base module (#189).Warnings about existing stratifications now only appear if the requested stratification contains a named expression matching an existing stratification. Simply requesting the stratification from the feature store will no longer produce a warning (#192).
Testing
-
test_diseasystore()
now also checks theFeatureHandler
return data directly:
Documentation
An example has been added for building a
diseasystore
with individual level data (#162). Seevignette("extending-diseasystore-example")
.Added benchmarking vignette
vignette("benchmarks")
(#144).
Minor Improvements and Fixes
-
diseasyoption()
can now be called without theoption
argument to return alldiseasy/diseasystore
options (#159).In addition, a new
namespace
argument can restrict the option look-up to a specific package (e.g.diseasystore
).
diseasystore 0.2.2
CRAN release: 2024-07-15
Minor Improvements and Fixes:
- The
%.%
operator is made more flexible to function as a drop-in replacement for$
(#145).
diseasystore 0.2.0
CRAN release: 2024-03-20
New Features
DiseasystoreEcdcRespiratoryViruses
: A feature store that uses the ECDC Respiratory viruses weekly repository (#124).-
With the release of SCDB v0.4, we now support more database backends:
test_diseasystore()
is added to provide a standardised method for testing new diseasystores (#123).
Minor Improvements and Fixes
-
diseasyoption()
now allows a default option to be set with the.default
argument (#122).
diseasystore 0.1.1
CRAN release: 2024-01-18
Fixes
Improved the stability of internal functions.
Adapted to release of SCDB v0.3.
diseasystore 0.1
CRAN release: 2023-12-20
Features
-
DiseasystoreBase
: A base class for the diseasystores.- R6 class that defines the interface for the diseasystores.
-
DiseasystoreGoogleCovid19
: A feature store that uses the Google COVID-19 Open Data repository.- R6 class that builds on the base class to provide interface to the Google COVID-19 data.
-
FeatureHandler
: A simple class to handle individual feature computations.- Defines the interface for each individual feature in the diseasystores.
Aggregators: A set of aggregators for the
FeatureHandler
to use.drop_diseasystore()
: A function to remove data from a feature store.-
Added a informative operator to access data
%.%
.- Gives error instead of
NULL
if element does not exist.
- Gives error instead of
age_labels()
: A function to generate human-readable and sortable age groupings.
Documentation
The functions are fully documented.
-
Vignettes for the use of the package is included.
vignette("quick-start")
vignette("extending-diseasystore")
-
Vignette for the Google COVID-19 data is included.