Install alm package from CRAN
install.packages("alm")
library(alm)
Get metrics on a DOI, specifying info=history
gives you the detailed data instead of totals. Note that counter is PLOS's views (includes page views of html, downloads of XML and PDF).
out <- alm(doi="10.1371/journal.pone.0029797", info="history")
head( out[ out$.id %in% 'counter' ,] )
First 6 rows
.id dates totals
585 counter 2013-12-09 29551
586 counter 2013-12-08 29533
587 counter 2013-12-07 29525
588 counter 2013-12-06 29522
589 counter 2013-12-05 29506
590 counter 2013-12-04 29481