# For the sake of these examples, we will use the example taxonomy and checklist
system.file("extdata", "testTaxonomy.rda", package="BeeBDC") |> load()
system.file("extdata", "testChecklist.rda", package="BeeBDC") |> load()
# Single entry example
testQuery <- BeeBDCQuery(
beeName = "Lasioglossum bicingulatum",
searchChecklist = TRUE,
printAllSynonyms = TRUE,
beesTaxonomy = testTaxonomy,
beesChecklist = testChecklist)
# Multiple entry example
testQuery <- BeeBDCQuery(
beeName = c("Lasioglossum bicingulatum", "Nomada flavopicta",
"Lasioglossum fijiense (Perkins and Cheesman, 1928)"),
searchChecklist = TRUE,
printAllSynonyms = TRUE,
beesTaxonomy = testTaxonomy,
beesChecklist = testChecklist)
# Example way to examine a report from the output list
testQuery$checklistReport
Run the code above in your browser using DataLab