Description Usage Arguments Value Note Author(s) See Also Examples
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.
1 | get_date_from_doi(doi, extract_date_from_doi)
|
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 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
Christian Vincenot (christian@vincenot.biz)
1 2 3 4 5 6 7 | ## 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)
|
Loading required package: foreach
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
[1] "[10.1016/j.procs.2010.04.250] Guessed date from DOI string: 2010.04"
[1] "2010.04"
[1] "[10.1016/j.procs.2010.04.250] Guessed date from DOI string: 2010.04"
[1] "2010.04"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.