get_date_from_doi {Diderot} | R Documentation |
Function to retrieve publication date based on Digital Object Identifier (DOI)
Description
This function retrieves precise publication date by querying the Digital Object Identifier (DOI) web server. Alternatively, if extract_date_from_doi is set to TRUE, the function will first try to extract a publication year from the publication DOI string. If create_bibliography
is called with retrieve_pubdates = TRUE, it calls get_date_from_doi
for each record to confirm publication dates.
Usage
get_date_from_doi(doi, extract_date_from_doi)
Arguments
doi |
Character string representing the Digital Object Identifier (DOI) of the publication |
extract_date_from_doi |
Flag indicating whether to try to simply extract publication year from the DOI string before restorting to online queries to the DOI server |
Value
Returns a date in YYYY-MM-DD format or YYYY-MM format if extract_date_from_doi is set to TRUE.
Note
Scopus records already contain the year of publication of scientific papers indexed. However, in some cases these are inaccurate and can be verified by comparing them with the date retrieved by this function. Note that
Author(s)
Christian Vincenot (christian@vincenot.biz)
See Also
Examples
## Not run:
# Query publication date from DOI server
get_date_from_doi(doi="10.1016/j.procs.2010.04.250",extract_date_from_doi=TRUE)
## End(Not run)
# Extract date from DOI string
get_date_from_doi(doi="10.1016/j.procs.2010.04.250",extract_date_from_doi=TRUE)