# NOT RUN {
# 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)
# }
Run the code above in your browser using DataLab