get_articles_from_search | R Documentation |
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.
get_articles_from_search(input_url, search_criteria, verbose = FALSE)
input_url |
Character vector. |
search_criteria |
Character string |
verbose |
Logical. |
A dataframe with the urls of the articles linked from the OJS issue page.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.