Function to retrieve publication date based on Digital Object Identifier (DOI)
Function to retrieve publication date based on Digital Object Identifier (DOI)
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.
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
Returns
Returns a date in YYYY-MM-DD format or YYYY-MM format if extract_date_from_doi is set to TRUE.
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
See Also
create_bibliography
Examples
## Not run:# Query publication date from DOI serverget_date_from_doi(doi="10.1016/j.procs.2010.04.250",extract_date_from_doi=TRUE)## End(Not run)# Extract date from DOI stringget_date_from_doi(doi="10.1016/j.procs.2010.04.250",extract_date_from_doi=TRUE)