getCodes: getCodes

Description Usage Arguments

Description

This function sends names to webservices to try to get codes

Usage

1
2
3
4
getCodes(mysteryAPHIAID = NULL, definitiveAPHIAID = NULL,
  APHIAIDs_checked = NULL, mysteryTSN = NULL, definitiveTSN = NULL,
  TSNs_checked = NULL, searchtype = NULL, thisCode = NULL,
  masterlist = NULL, logName = logName)

Arguments

mysteryAPHIAID

- dataframe with names for which you want to find AphiaIDs

definitiveAPHIAID

- dataframe with names for which you already have good AphiaIDs. The results will be bound to this.

APHIAIDs_checked

- a vector of APHIAIDs that chave already been sent to the webservices (to avoid duplicate checks)

mysteryTSN

- dataframe with names for which you want to find TSNs

definitiveTSN

- dataframe with names for which you already have good TSNs. The results will be bound to this.

TSNs_checked

- a vector of TSNs that chave already been sent to the webservices (to avoid duplicate checks)

searchtype

- flag indicating whether scientific or common names should be used checking the services

thisCode

- the particular code that is being looked for (e.g. APHIAID)

masterlist

This is the originally submitted list of species (with an internally assigned ID)

logName

- this is the name of the logfile in the working directory that progress should be appended to.


Maritimes/bio.odissupport documentation built on May 31, 2019, 8:01 a.m.