formatarticleurl: Format a URL for a specific article in a specific PLoS...

View source: R/formatarticleurl.R

formatarticleurlR Documentation

Format a URL for a specific article in a specific PLoS journal.

Description

Format a URL for a specific article in a specific PLoS journal.

Usage

formatarticleurl(doi, journal)

Arguments

doi

digital object identifier for an article in PLoS Journals

journal

quoted journal name (character)

Details

Choose the journal abbreviation, and the appropriate base URL will be inclued in the built URL. Options are: PLoSBiology, PLoSGenetics, PLoSComputationalBiology, PLoSMedicine, PLoSONE, PLoSNeglectedTropicalDiseases, or PLoSPathogens.

Value

Get url for the article to use in your browser, etc.

Examples

## Not run: 
formatarticleurl(doi="10.1371/journal.pone.0004045", journal='PLoSONE')

## End(Not run)

ropensci/rplos documentation built on Sept. 12, 2022, 2:10 p.m.