item_exists: check if identifier touple already exists on SB

View source: R/query_items.R

item_existsR Documentation

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, ...)

Arguments

scheme

the identifier scheme

type

the identifier type

key

the identifier key

...

Additional parameters are passed on to GET

Value

boolean for whether item exists

Examples

## Not run: 
item_exists('mda_streams','ts_doobs','nwis_01018035')
item_exists('mda_streams','site_root','nwis_01018035')

## End(Not run)

USGS-R/sbtools documentation built on June 1, 2024, 9:47 p.m.