strongHosts <- helminthR::findParasite(genus = "Strongyloides")
# An example of how to query multiple parasite species when
# you have a vector of parasite species names
parasites <- c("Ascaris aculeati", "Oxyuris flagellum")
# \donttest{
plyr::ldply(parasites,
function(x){
helminthR::findParasite(unlist(strsplit(x, " "))[1],
unlist(strsplit(x," "))[2])
}
)
# }
Run the code above in your browser using DataLab