View source: R/dbpf_locations.R
dbpf_locations | R Documentation |
Basic information on permafrost database @ Carleton University
dbpf_locations(con, pattern, type = "point")
con |
Database connection object, as returned by |
pattern |
(optional) A regular expression used to filter returned values by name |
type |
Identifies the geometry type for which locations are returned. The default is 'point', otherwise set type='polygon'. [character] |
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.
Data frame of all [point / polygon] locations in DB
Stephan Gruber <stephan.gruber@carleton.ca>
## Not run:
con <- dbpf_con()
loc <- dbpf_locations(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.