get_publication: A file to get publications for sites or datasets in the...

Description Usage Arguments Value Author(s) References Examples

Description

The function takes the parameters, defined by the user, and returns a table with publication information from the Neotoma Paleoecological Database.

Usage

1
2
  get_publication(pubid, contactid, datasetid, author,
    pubtype, year, search)

Arguments

pubid

Numeric Publication ID value, either from get.datasets or known.

contactid

Numeric Contact ID value, either from get.datasets or get.contacts

datasetid

Numeric Dataset ID, known or from get.datasets

author

Character string for full or partial author's name. Can include wildcards such as 'Smit*' for all names beginning with 'Smit'.

pubtype

Character string, one of eleven allowable types, see get.table('PublicationTypes')

year

Numeric publication year.

search

A character string to search for within the article citation.

Value

A table is returned with several fixed columns, and a variable number of author fields:

Author(s)

Simon J. Goring simon.j.goring@gmail.com

References

Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/contacts

Examples

1
2
3
4
5
6
7
8
## Not run: 
#  To find all publications from 1998:
year.cont <- get_publication(year = 1998)

# To find all data contributors who have the last name "Smith"
smith.cont <- get_publication(author = 'Smith')

## End(Not run)

neotoma documentation built on May 2, 2019, 5:55 p.m.