decode_dois: Decode DOIs (digital object identifiers)

View source: R/decode_dois.R

decode_doisR Documentation

Decode DOIs (digital object identifiers)

Description

Replace URL encoded DOIs (often exported from bibliographic databases and search tools like Publish or Perish, e.g. ' with original special character encoding (e.g. '(').

Usage

decode_dois(dois, keep_http = TRUE)

Arguments

dois

A vector of DOIs.

keep_http

Logical argument specifying whether to retain http prefix (TRUE) or not (FALSE). Default is set to TRUE.

Value

A vector of edited DOIs

Examples

## Not run: 
refs <- synthesisr::read_refs('www/embase.ris')
dois <- refs$doi
new_dois <- decode_dois(dois, keep_http = FALSE)

## End(Not run)

nealhaddaway/GSscraper documentation built on May 6, 2022, 10:52 a.m.