wormsbyid: GET AphiaRecordByAphiaID

Description Usage Arguments Details Value

View source: R/worms_func.R

Description

takes more than one AphiaID and retrives AphiaRecords from WoRMS

Usage

1
wormsbyid(x, verbose = TRUE, ids = FALSE, sleep_btw_chunks_in_sec = 0.01)

Arguments

x

AphiaIDs

verbose

be verbose

ids

add column "id" and "name" with running id and search names

sleep_btw_chunks_in_sec

pause between requests

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 output to a data.frame with each row being a record.

For examples, see wormsaccepted

Value

a data frame.


janhoo/worms documentation built on May 20, 2019, 2:45 p.m.