Learn R Programming

sbtools (version 1.3.2)

item_exists: check if identifier touple already exists on SB

Description

returns TRUE if touple already belongs to a sciencebase item, FALSE if not

Usage

item_exists(scheme, type, key, ...)

Value

boolean for whether item exists

Arguments

scheme

the identifier scheme

type

the identifier type

key

the identifier key

...

Additional parameters are passed on to GET

Examples

Run this code
if (FALSE) {
item_exists('mda_streams','ts_doobs','nwis_01018035')
item_exists('mda_streams','site_root','nwis_01018035')
}

Run the code above in your browser using DataLab