New age helpers add_years()
and age_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 the diseasystore
.
test_diseasystore()
now have a skip_backend
argument to skip tests for the disallowed backends.
Additional arguments (...
) can now be passed to the compute()
and get()
functions in FeatureHandler
s.
Furthermore, a reference to the diseasystore
is now passed to compute()
to give the Featurehandler
access
to other features via ds$get_feature()
(#162).
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).
test_diseasystore()
now also checks that the FeatureHandler
s return data directly:
An example has been added for building a diseasystore
with individual level data (#162).
See vignette("extending-diseasystore-example")
.
Added benchmarking vignette vignette("benchmarks")
(#144).
diseasyoption()
can now be called without the option
argument to return all diseasy/diseasytsore
options (#159).
In addition, a new namespace
argument can restrict the option look-up to a specific package (e.g. diseasystore
).
%.%
operator is made more flexible to function as a drop-in replacement for $
(#145).{SCDB}
v0.3 is removed.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).
diseasyoption()
now allows a default option to be set with the .default
argument (#122).Improved the stability of internal functions.
Adapted to release of SCDB v0.3.
Improved test stability when internet is unavailable.
Reduced the data footprint during tests.
DiseasystoreBase
: A base class for the diseasystores.
DiseasystoreGoogleCovid19
: A feature store that uses the Google COVID-19 Open Data repository.
FeatureHandler
: A simple class to handle individual feature computations.
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 %.%
.
NULL
if element does not exist.age_labels()
: A function to generate human-readable and sortable age groupings.
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.
vignette("diseasystore-google-covid-19")