replace_species_in_list | R Documentation |
Replace a list of species
replace_species_in_list(userid, access_token, list_id, speciesObj)
userid |
A valid gmail address of the user |
access_token |
Access token of the gmail address |
list_id |
An integer id of the list to be modified |
speciesObj |
A species object to replace with |
A list with the old species and new species list
https://github.com/phylotastic/phylo_services_docs/tree/master/ServiceDescription
# This gives you the syntax, but since the access token expires after one hour,
# this particular example will not work.
## Not run:
userid = "abusalehmdtayeen@gmail.com"
access_token = "ya29..zQLmLjbyujJjwV6RVSM2sy-mkeaKu-9"
list_id = 12
speciesObj = list( list(family="",scientific_name="Aix sponsa",scientific_name_authorship="",
vernacular_name="Wood Duck",phylum="",nomenclature_code="ICZN",order="Anseriformes",class=""))
replace_species_in_list(userid, access_token, list_id, speciesObj)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.