update_species_in_list: Update metadata of a list of species

Description Usage Arguments Value See Also Examples

View source: R/listspecies.R

Description

Update metadata of a list of species

Usage

1
update_species_in_list(userid, access_token, list_id, listObj)

Arguments

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

listObj

A list object to update with

Value

A list with modified list metadata

See Also

https://github.com/phylotastic/phylo_services_docs/tree/master/ServiceDescription

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
  # 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
  listObj = list(list_description="A sublist on the bird species",
            list_keywords=c("bird","Everglades"))
  update_species_in_list(userid, access_token, list_id, listObj)

## End(Not run)

rphylotastic documentation built on March 18, 2018, 1:46 p.m.