Learn R Programming

helminthR

Programmatically access the London Natural History Museum's helminth database.

See software note in Ecography (available here)

Installation

From GitHub

# install.packages("devtools")
devtools::install_github("rOpenSci/helminthR")
library("helminthR")

From CRAN

install.packages("helminthR")

Main functions

findHost()

Given a host genus and (optionally) species and location, this function returns all host-parasite associations of a given host species. The example below determines all parasite records for helminth infections of Gorilla gorilla.

gorillaParasites <- findHost('Gorilla', 'gorilla')
head(gorillaParasites)

findParasite()

Given a helminth parasite genus (and optionally species, and location), this function returns a list of host-parasite records for that parasite. In the example below, I query the database for occurrences of the genus Strongyloides.

strongHosts <- findParasite(genus='Strongyloides')
str(strongHosts)

listLocations() and findLocation()

List all location names (listLocations()). These names can be given to the findLocation() function, which finds all host-parasite associations that have occurred in the given location. Below, I look at host-parasite associations recorded in France.

FrenchHostPars <- findLocation(location='France')
str(FrenchHostPars)

Contribute!

Feel free to fork it and contribute some functionality.

Meta

By participating in this project you agree to abide by its terms.

Copy Link

Version

Install

install.packages('helminthR')

Monthly Downloads

45

Version

1.0.10

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Tad Dallas

Last Published

December 8th, 2022

Functions in helminthR (1.0.10)

helminthR-package

Access London Natural History Museum host-helminth record database
locations

Table of geographic location names, and associated coordinates
findHost

Find parasite occurrence data for given host.
findLocation

Find host-parasite interactions for a given location
cleanData

Clean helminth parasite occurrence data
findParasite

Find host-parasite interactions for a given parasite species.