View source: R/importQueries.R
importQueries | R Documentation |
This function imports the queries from a named ODBC datasource from NETN forest backend databases and prepares the data for plotting in wetlandViz.
importQueries(type = c("DSN", "file"), odbc = "RAM_FE", path = NA)
type |
Select whether to use the default Data Source Named database (DSN) to import data or a different database. If "DSN" is selected, must specify name in odbc argument.
|
odbc |
DSN of the database when using type = DSN. If not specified will defaut to "RAM_FE", which is the front end of the MS Access RAM database that contains the queries to import. |
path |
Quoted path of database backend file, including the name of the backend. |
Assigns database tables to global environment
## Not run:
# Import database in specific folder:
importQueries(type='file', path='./Data/NETN_RAM_Frontend.mdb')
# Import ODBC named database
importQueries(type='DSN', odbc="RAM_FE")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.