update_providers: Update the locally stored OAI-PMH data providers table.

View source: R/update_providers.R

update_providersR Documentation

Update the locally stored OAI-PMH data providers table.

Description

Data comes from http://www.openarchives.org/Register/BrowseSites. It includes the oai-identifier (if they have one) and the base URL. The website has the name of the data provider too, but not provided in the data pulled down here, but you can grab the name using the example below.

Usage

update_providers(path = ".", ...)

Arguments

path

Path to put data in.

...

Curl options passed on to httr::GET()

Details

This table is scraped from http://www.openarchives.org/Register/BrowseSites. I would get it from http://www.openarchives.org/pmh/registry/ListFriends, but it does not include repository names.

This function updates the table for you. Does take a while though, so go get a coffee.

See Also

load_providers()

Examples

## Not run: 
update_providers()
load_providers()

## End(Not run)

ropensci/oai documentation built on Nov. 18, 2022, 5:33 p.m.