create_ISid: Creates a ImpactStory ID for a new object. (This function...

View source: R/tiID.R

create_ISidR Documentation

Creates a ImpactStory ID for a new object. (This function will be deprecated shortly since Impact Story plans to discontinue assinging their own IDs)

Description

Creates a ImpactStory ID for a new object. (This function will be deprecated shortly since Impact Story plans to discontinue assinging their own IDs)

Usage

  create_ISid(id = NULL, nspace = "doi",
    key = getOption("ImpactStoryKey", stop("Missing ImpactStory consumer key")))

Arguments

id

The id of an object. If you specify a doi, then leave the namespace blank. Otherwise please specify the namespace. Currently acceptable namespaces are github, url, and pmid (the last one is new and experimetal as of 09/07/2012)

nspace

Default is doi

key

An ImpactStory API key

Value

character

Examples

## Not run: 
create_ISid(id='10.1038/nrg3270')

## End(Not run)

ropensci/rImpactStory documentation built on May 18, 2022, 6:30 p.m.