Learn R Programming

rscielo (version 1.0.0)

get_article_id: Get the ID of a scientific article hosted on Scielo

Description

get_article_id() extracts the ID of an article's URL

Usage

get_article_id(url)

Arguments

url

a character vector with the URL of an article hosted on Scielo.

Value

The function returns a character vector with the article ID.

Examples

Run this code
# NOT RUN {
id <- get_article_id(url = "http://www.scielo.br/scielo.php?script=sci_arttext&
pid=S1981-38212016000200201&lng=en&nrm=iso&tlng=en")
# }

Run the code above in your browser using DataLab