Description Usage Arguments Details Value Note See Also Examples
View source: R/get_article_meta.R
get_article_meta()
scrapes meta-data information from an article
hosted on Scielo.
1 |
x |
a character vector with the link or id of the article hosted on Scielo to be scrapped. |
This functions scrapes several meta-data information, such as author's names, article title, year of publication, journal issue and number of pages.
The function returns a tibble
with the following variables:
author: Author name.
first_author_surname: First author surname.
institution: Author's institution.
inst_adress: Author's institution address.
country: Author's country.
title: Article title.
year: Year of publication.
journal: Journal name.
volume: Volume.
number: Number.
first_page: Article's first page.
last_page: Article's last page
abstratc: Article's abstract.
keywords: Article's keywords.
article_id:
doi: DOI.
n_authors: Number of authors.
n_pages: Number of pages.
n_refs: Number of references.
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).
1 2 | article_meta <- get_article_meta(x = "http://www.scielo.br/scielo.php?
script=sci_arttext&pid=S1981-38212016000200201&lng=en&nrm=iso&tlng=en")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.