Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Get scholarly metadata from around the web.
R
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
R updated readme with note about DPLA moving to new package
data fixed non ascii chars in providers dataset, closes #23
inst
man-roxygen
man
vignettes
.Rbuildignore fixed non ascii chars in providers dataset, closes #23
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
README.Rmd
README.md
appveyor.yml
rmetadata.Rproj

README.md

rmetadata

Build Status Build status

rmetadata: access to scholarly metadata on the web.

Data sources

OAI-PMH

The functions prefixed with md_* are ones that interact with OAI-PMH metadata.

You can access all the data sources in the OAI-PMH list of metadata providers, in addition to some sources not on that list (more are available):

Documentation for OAI-PMH in general here.

Datacite

UPDATE on 2014-10-23: We're working on a separate package for DataCite = rdatacite that tworks with their RESTful search API. We moved the DataCite functions out of this package, but may add rdatacite as an import later if needed. You can still search on DataCite metadata via OAI-PMH in this package.

CrossRef

UPDATE on 2014-10-23: Crossref is now in a separate package rcrossref

Digital Public Library of America

UPDATE on 2014-10-28: DPLA is in a separate packge rdpla - but not quite useable yet.

Metadata from the Digital Public Library of America (DPLA). They have a great API with good documentation - a rare thing in this world. Further documentation on their API can be found on their search fields and examples of queries.

See below for examples...

Europeana

UPDATE on 2014-10-28: Europeana functions now in a separate package reuropeana

HathiTrust

Microsoft Academic Search

Microsoft is no longer supporting the Academic Research API...

Quickstart

Installation

Install rmetadata from GitHub:

install.packages("devtools")
devtools::install_github("ropensci/rmetadata")
library('rmetadata')

DPLA

Search metadata from the Digital Public Library of America (DPLA).

dpla_basic(q="fruit", verbose=TRUE, fields=c("publisher","format"))

Visualize metadata from the DPLA - histogram of number of subjects per record

# Get results from searching on the terme ecology
out <- dpla_basic(q="ecology", fields=c("publisher","subject"), limit=90)
dpla_plot(input=out, plottype = "subjectsum")

Visualize metadata from the DPLA - timeline plot of the top 10 encountered subjects

# Serching for the term science from before the year 1900
out <- dpla_basic(q="science", date.before=1900, limit=200)
dpla_plot(input=out, plottype="subjectsbydate")

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for rdatacite in R doing citation(package = 'rdatacite')

ropensci

Something went wrong with that request. Please try again.
https://github.com/ropensci/rmetadata
github.com
crawl=CC-MAIN-2015-18
55525
application/http; msgtype=response
sha1:AT424NIGLGYHANNP6AI7776ETIJAORIE
<urn:uuid:f05f1779-8aee-43d5-8de2-91678cc05de5>
2015-04-27T10:16:07Z
192.30.252.130
sha1:KOPZZAHQ7W7APAZ5JMUJR2SF6BYUXK7X
<urn:uuid:770ab7ee-1ded-4665-94b8-7195d7fe74c1>
https://github.com/ropensci/rmetadata
length
response
<urn:uuid:26733d27-df1d-4320-8a15-96d4ad987f41>
robots: classic
hostname: ip-10-235-10-82.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-18
operator: CommonCrawl Admin
description: Wide crawl of the web for April 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf