Skip to contents

Query to return pathogen ID from pathogen Name using the database

Usage

query_pathogen(config = config_ambre, pathogenName)

Arguments

config

list configuration file default value is config_ambre dataset

pathogenName

character Name of the pathogen for which you want to find the ID

Value

pathogenID integer ID of the pathogen define

Examples

query_pathogen(pathogenName = "Campylobacter jejuni")
#> [1] 1

query_pathogen(pathogenName = c("Campylobacter jejuni", "Rotavirus"))
#> [1]  1 26