Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subsetting multiple entries in as_epidist #349

Open
CarmenTamayo opened this issue Jul 9, 2024 · 0 comments
Open

Subsetting multiple entries in as_epidist #349

CarmenTamayo opened this issue Jul 9, 2024 · 0 comments

Comments

@CarmenTamayo
Copy link
Contributor

Currently, in order to create epidist objects from {epireview}, it's necessary to first manually subset their parameter database, to select a single row, and then use the as_epidist function.

Ideally, the process should be similar to how epidist_db works, where it's possible to create an epidist object by directly subsetting entries from the {epiparameter} database, and have either a single object if single_epidist = TRUE, or as many entries as those available in the database that meet the conditions specified by the arguments.
I think both options, i.e., creating an epidist from a single entry, as well as by filtering the {epireview} database, should be available to the user.

Further, for the most seamless user experience, the arguments included in as_epidist should be as similar as possible to those in epidist_db, i.e., disease, pathogen, epi_dist, distribution, author, subset and single_epidist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants