Description Usage Arguments Value Author(s) References Examples
The function takes the parameters, defined by the user, and returns a table with publication information from the Neotoma Paleoecological Database.
1 2 | get_publication(pubid, contactid, datasetid, author,
pubtype, year, search)
|
pubid |
Numeric Publication ID value, either from
|
contactid |
Numeric Contact ID value, either from
|
datasetid |
Numeric Dataset ID, known or from
|
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 |
year |
Numeric publication year. |
search |
A character string to search for within the article citation. |
A table is returned with several fixed columns, and a variable number of author fields:
PublicationIDUnique database record identifier for the publication.
PubTypePublication type
YearYear of publication.
CitationThe complete citation in a standard style. For legacy citations inherited from other databases, this field holds the citation as ingested from the other databases.
AuthorsArray of author
objects, can be of variable length. Includes
Authors.ContactName.n
, Authors.ContactID.n
,
Authors.Order.n
, where n ranges from 1 to the
maximum number of authors returned by the API call. When
the maximum number of authors is 1 the number is
excluded.
Simon J. Goring simon.j.goring@gmail.com
Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/contacts
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.