Description Usage Arguments Value Examples
The function CHMcatalog can be used to return a catalog of chemistry data in the DESC database. There are only two arguments. One to define the connection handle and the other to limit the size of the catalog by sample count. Many sites within the DESC chemistry database have only 1 or two samples and are excluded by default. This can be changed by changing 'n' which defaults to 10 but can be set to any value.
1 | CHMcatalog(channel, n = 10)
|
channel |
connection handle as returned by odbcConnect |
n |
minimum sample count |
A data frame
1 2 3 4 5 6 7 8 | # Establish connection with database
CHM = odbcConnect("Connection", "User id", "Password")
# Grab a catalog of available chemistry data
Catalog = CHMcatalog(CHM)
# Grab a catalog of all available chemistry data
Catalog = CHMcatalog(CHM, n = 0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.