Recursivly retrieves respective "accepted" AphiaRecords for all synonyms if not already there
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.
wormsconsolidate(x, verbose = TRUE, sleep_btw_chunks_in_sec = 0.01, once = FALSE)
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) |
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
a data frame.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.