Learn R Programming

rscielo (version 1.0.0)

get_journal_id: Get the ID of a journal hosted on Scielo

Description

get_journal_id() extracts the numerical ID (pid) from a journal's URL.

Usage

get_journal_id(url)

Arguments

url

a character vector with the URL of a journal hosted on Scielo.

Value

The function returns a character vector with the journal ID.

Examples

Run this code
# NOT RUN {
id <- get_journal_id(url = "http://www.scielo.br/scielo.php?
script=sci_serial&pid=1981-3821&lng=en&nrm=iso")
# }

Run the code above in your browser using DataLab