get_html_meta_from_article: Scraping metadata from the OJS articles HTML

Description Usage Arguments Value Examples

Description

Takes a vector of OJS URLs and scrapes all metadata written in HTML from the article view

Usage

1
get_html_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), the content of the metadata (meta_data_content), the standard in which the content is annotated (meta_data_scheme), and the language in which the metadata was entered (meta_data_xmllang)

Examples

1
2
3
4
5
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 <- ojsr::get_html_meta_from_article(articles, verbose = TRUE)

ojsr documentation built on Oct. 23, 2020, 5:20 p.m.