cleanData: Clean helminth parasite occurrence data

cleanDataR Documentation

Clean helminth parasite occurrence data

Description

Given a host-parasite edgelist, this function can validate species names, provide further taxonomic information (thanks to taxize), and remove records only to genus level.

Usage

cleanData(edge, speciesOnly = FALSE, validateHosts = FALSE)

Arguments

edge

Host-parasite edgelist obtained from findLocation, findHost, or findParasite

speciesOnly

boolean flag to remove host and parasite species where data are only available at genus level (default = FALSE)

validateHosts

boolean flag to check host species names against Catalogue of Life information and output taxonomic information (default = FALSE)

Details

Use data(locations) for a list of possible locations.

Value

cleanEdge Host-parasite edgelist, but cleaned

Author(s)

Tad Dallas


helminthR documentation built on Dec. 9, 2022, 1:06 a.m.