get_articles_from_search: Scraping OJS search results for a given criteria to retrieve...

Description Usage Arguments Value Examples

Description

takes a vector of OJS URLs and a string for search criteria to compose search result URLs, (including pagination) then it scrapes them to retrieve the articles’ URLs.

Usage

1
get_articles_from_search(input_url, search_criteria, verbose = FALSE)

Arguments

input_url

Character vector.

search_criteria

Character string

verbose

Logical.

Value

A dataframe with the urls of the articles linked from the OJS issue page.

Examples

1
2
3
4
5
6
7
journals <- c(
   'https://revistapsicologia.uchile.cl/index.php/RDP/',
   'https://publicaciones.sociales.uba.ar/index.php/psicologiasocial/'
)
criteria <- "actitudes"
search_result_pages <- ojsr::get_articles_from_search(input_url = journals,
    search_criteria = criteria, verbose = TRUE)

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