ed_mock: Load mock EIDITH data for PREDICT-1 tutorials

ed_table_mock_R Documentation

Load mock EIDITH data for PREDICT-1 tutorials

Description

These functions load mock versions of the EIDITH PREDICT-1 data tables to be used for demonstrations, tutorials, and practice. They are drop-in replacements for the ed_table() functions.

Usage

ed_table_mock_(mock_table, ..., .dots, raw = FALSE)

ed_table_mock(mock_table, ...)

ed_events_mock(...)

ed_animals_mock(...)

ed_specimens_mock(...)

ed_tests_mock(...)

ed_testspecimen_mock(...)

Arguments

mock_table

one of the EIDITH database tables. One of "events", "animals", "specimens", "tests", or "test_specimen_ids".

...

arguments passed to dplyr::filter() to subset data

.dots

standard-evaluation versions of subsetting arguments

raw

Whether to return the unprocessed form of the mock data. This is equivalent to calling the ed_get() functions with postprocess=FALSE

Value

a tibble-style data frame.


ecohealthalliance/eidith documentation built on Aug. 30, 2022, 7:45 a.m.