wormsconsolidate: Recursivly retrieves respective "accepted" AphiaRecords for...

Description Usage Arguments Details Value

Description

takes data.frame as output by wormsbynames , wormsbymatchnames, or wormsbyid and retrieves additional Aphia records (CC-BY) for not-"accepted" records in order to ultimately have "accepted" synonyms for all records in the dataset.

Usage

1
2
wormsconsolidate(x, verbose = TRUE, sleep_btw_chunks_in_sec = 0.01,
  once = FALSE)

Arguments

x

data.frame

verbose

be verbose

sleep_btw_chunks_in_sec

pause between requests

once

only one retrival iteration. No concatination of output with result. (For debugging)

Details

This function will take a integer vector with AphiaIDs, retrive AphiaRecords from www.marinespecies.org using the GET /AphiaRecordByAphiaID Method described at http://www.marinespecies.org/rest/. Results will be outbut to a data.frame with each row being a record.

For examples, see wormsaccepted

Value

a data frame.


worms documentation built on May 1, 2019, 9:22 p.m.