dbpf_device_exists: Check if a device serial number exists

View source: R/dbpf_device_exists.R

dbpf_device_existsR Documentation

Check if a device serial number exists

Description

Checks if device exists based on its serial number

Usage

dbpf_device_exists(con, serial_number)

Arguments

con

Database connection object, retuned by dbpf_con()

serial_number

Serial number of device to query

Details

These simple functions return all data as data frames. When making a query many times, optimise the SQL statement to only request the data you actually need.

Value

0 (does not exist) or teh device

Author(s)

Stephan Gruber <stephan.gruber@carleton.ca>

Examples

## Not run: 
con <- dbpf_con()
fds <- dbpf_devices()
dbDisconnect(con)

## End(Not run)

geocryology/PermafrostDB documentation built on April 17, 2025, 11:54 a.m.