insert_species_in_list: Insert list of species

View source: R/listspecies.R

insert_species_in_listR Documentation

Insert list of species

Description

Insert list of species

Usage

insert_species_in_list(userid, listObj)

Arguments

userid

A valid gmail address of the user

listObj

A list object

Value

A list with the id of the new list created

See Also

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

Examples

  userid = "abusalehmdtayeen@gmail.com"
  listObj = list(list_extra_info="", list_description="A sublist on the bird species added",
      list_keywords=c("bird", "endangered species", "Everglades"),
      list_curator="HD Laughinghouse", list_origin="webapp",
      list_curation_date="02-24-2016", list_source="des", list_focal_clade="Aves",
      list_title="Bird Species List",list_author=c("Bass", "O. & Cunningham", "R."),
      list_date_published="01-01-2017", is_list_public=TRUE,
      list_species=list(list(family="",scientific_name="Aix sponsa",
          scientific_name_authorship="", vernacular_name="Wood Duck",
          phylum="",nomenclature_code="ICZN",order="Anseriformes",class=""),
          list(family="",scientific_name="Anas strepera",
          scientific_name_authorship="", vernacular_name="Gadwall",
          phylum="",nomenclature_code="ICZN",
          order="Anseriformes",class="") ))
  insert_species_in_list(userid, listObj)

phylotastic/rphylotastic documentation built on Aug. 22, 2023, 9:51 p.m.