Learn R Programming

ojsr (version 0.1.2)

get_oai_meta_from_article: Retrieving OAI records for OJS articles

Description

This functions access OAI records (within OJS) for any article for which you provided an URL.

Usage

get_oai_meta_from_article(input_url, verbose = FALSE)

Arguments

input_url

Character vector.

verbose

Logical.

Value

A long-format dataframe with the url you provided (input_url), the name of the metadata (meta_data_name), and the content of the metadata (meta_data_content).

Details

Several limitations are in place. Please refer to vignette.

Examples

Run this code
# NOT RUN {
articles <- c(
  'https://publicaciones.sociales.uba.ar/index.php/psicologiasocial/article/view/2137', # article
  'https://dspace.palermo.edu/ojs/index.php/psicodebate/article/view/516/311' # xml galley
)
metadata_oai <- ojsr::get_oai_meta_from_article(input_url = articles, verbose = TRUE)
# }

Run the code above in your browser using DataLab