get_journal: Scrape meta-data from articles published by a journal hosted...

Description Usage Arguments Details Value Note See Also Examples

View source: R/get_journal.R

Description

get_journal() scrapes meta-data information from articles of a journal hosted on Scielo. In bilingual journals, articles' titles, abstracts and other relevant information are retrieved in the journal's main language used for publication (most of the time, it is English). The function can extract information from all articles ever published by the journal or only the ones in its latest issue.

Usage

1
get_journal(journal_id, last_issue = TRUE)

Arguments

journal_id

a character vector with the ID of the journal hosted on Scielo (the get_ournal_id function can be used to find the journal ID from its URL).

last_issue

a logical vector, if FALSE scrapes all issues of the journal, if TRUE (default) only scrapes its last issue.

Details

This functions scrapes several meta-data information, such as author's names, articles' titles, year of publication, edition and number of pages, that can be summarized with specific summary method.

Value

The function returns a tibble with the following variables:

Note

Sometimes, the Scielo website is offline for maintaince, in which cases this function will not work (i.e., users will get HTML status different from the usual 200 OK).

See Also

get_article_meta

Examples

1
2
df <- get_journal(journal_id = "1981-3821")
summary(df)

meirelesff/rScielo documentation built on Nov. 18, 2021, 9:57 a.m.