worms (version 0.2.1)

wormsbyid: GET AphiaRecordByAphiaID

Description

takes more than one AphiaID and retrives AphiaRecords from WoRMS

Usage

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

Value

a data frame.

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