← Back to all sparks
E

epiparameter

ANALYTICS
Velocity0.0

R package with classes and helper functions for working with epidemiological parameters and access to a library of epidemiological parameters for infectious diseases

epiparameter split its parameter library out of the package — and relicensed what remained.

epiverse-traceepidemiological-parameterspackage-architecturelicensingbreaking-changes
Current state
epiparameter provides classes and methods for working with epidemiological parameter distributions — delays, offspring distributions, incubation periods — drawn from the published literature. As of 0.4.0 the library itself no longer lives here: the parameters moved to {epiparameterDB}, taken on as a dependency, leaving {epiparameter} as the code layer alone. The most recent release is a CRAN-driven patch.
Where it's heading
Each release has clarified the boundary between the data and the tools that operate on it. 0.2.0 added coercion from {epireview} tables, 0.3.0 rewrote the classes and renamed much of the API, and 0.4.0 completed the separation while adding caching so loading the library stays cheap. Breaking changes have been frequent and deliberate rather than incidental.
Prediction
With code and data separated, the two can version independently — expect parameter additions to appear in {epiparameterDB} releases while this package's changes stay focused on classes and methods.

Recent moves

  1. 1y ago

    CRAN check fixes

    A patch release resolving CRAN check issues: the bias-extraction vignette becomes a website-only article and some Weibull tests are skipped on M1 Mac.

    View source ↗
  2. 1y ago

    Parameter library moves to epiparameterDB; package relicensed to MIT alone

    ⚡ SPARK

    The release that separated the data from the tools. parameters.json and the data dictionary leave the package for {epiparameterDB}, the dual CC0 licensing is dropped in favour of MIT alone, and the library is cached with {cachem} on load to keep epiparameter_db() fast.

    View source ↗
  3. 1y ago

    Classes and methods reworked; large-scale renaming

    The third minor release restructures the class system, adds c() and aggregate() methods for building consensus distributions from {distributional} mixtures, adds three Chikungunya entries, and lays translation infrastructure. Breaking renames dominate.

    View source ↗
  4. 2y ago

    Interoperability with epireview via as_epidist()

    Adds an as_epidist() generic with a data.frame method so parameter tables from {epireview} can be coerced into the package's classes, along with the reference columns needed to recognise them.

    View source ↗
  5. 2y ago

    First release: 122 parameter sets and the epidist class

    The initial release bundles a literature-derived library of 122 epidemiological parameter sets with the <epidist> class and methods for printing, plotting, conversion and distribution functions.

    View source ↗