Skip to content

Change which epi_archive operations have reference semantics #67

@brookslogan

Description

@brookslogan

Two potential approaches:

  • change epi_archive from an R6 class into an S3-classed-list containing a lazy_dt (from dtplyr)
  • rename current epi_archive R6 class to EpiArchive, make epi_archive an S3 list wrapper on top of EpiArchive that somehow prevents reference semantics from messing with users

Main complication:

  • We may eventually want disk-backed and/or updating epi_archives for delphi-epidata, WayBack Machine, GitHub, and/or other types of data sources; if these are also considered epi_archives rather than their own separate class, we want to ensure that they will have a sensible and compatible non-reference-semantics or side-effect-based interface

Other work:

  • Update docs and vignettes talking about R6 and reference semantics.

Metadata

Metadata

Assignees

Labels

P0high priorityop-semanticsOperational semantics; many potentially breaking changes here

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions