get_articles_from_search {ojsr} | R Documentation |
Scraping OJS search results for a given criteria to retrieve articles’ URL
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
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
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)
[Package ojsr version 0.1.2 Index]