## Not run:
# alm_datepub(doi='10.1371/journal.pone.0026871')
# alm_datepub('10.1371/journal.pone.0026871', get='year')
#
# # Provide more than one DOI
# dois <- c('10.1371/journal.pone.0026871','10.1371/journal.pone.0048868',
# '10.1371/journal.pone.0048705','10.1371/journal.pone.0048731')
# alm_datepub(doi=dois, get="month")
# ## End(Not run)
Run the code above in your browser using DataLab