Description Usage Arguments Examples
Data is stored in PostgreSQL database
1 2 3 4 | install_postgres(dataset, user = "postgres", password = "",
host = "localhost", port = 5432, database = "postgres",
database_name = "{db}", table_name = "{db}.{table}", bbox = list(),
debug = FALSE, use_cache = TRUE)
|
dataset |
the name of the dataset that you wish to install |
user |
username for database connection |
password |
password for database connection |
host |
hostname for connection |
port |
port number for connection |
database |
the database name default is postres |
database_name |
database schema name in which dataset will be installed |
table_name |
table name specified especially for datasets containing one file |
bbox |
Optional extent values used to fetch data from the spatial dataset |
debug |
Setting TRUE helps in debugging in case of errors |
use_cache |
Setting FALSE reinstalls scripts even if they are already installed |
1 | rdataretriever::install_postgres(dataset='portal', user='postgres', password='abcdef')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.