View source: R/dbpf_location_exists.R
dbpf_location_name_exists | R Documentation |
Checks if device exists based on its serial number
dbpf_location_name_exists(con, location_name)
con |
Database connection object, retuned by dbpf_con() |
location_name |
Name of teh location to query |
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.
0 (does not exist) or 1 (does exist)
Stephan Gruber <stephan.gruber@carleton.ca>
## Not run:
con <- dbpf_con()
fds <- dbpf_location_name_exists(con, "Storage")
dbDisconnect(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.