powered by
Data is stored in PostgreSQL database
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, force = FALSE, hash_value = NULL )
No return value, installs datasets into PostgreSQL database
the name of the dataset that you wish to install or path to a committed dataset zip file
username for database connection
password for database connection
hostname for connection
port number for connection
the database name default is postres
database schema name in which dataset will be installed
table name specified especially for datasets containing one file
optional extent values used to fetch data from the spatial dataset
setting TRUE helps in debugging in case of errors
setting FALSE reinstalls scripts even if they are already installed
setting TRUE doesn't prompt for confirmation while installing committed datasets when changes are discovered in environment
the hash value of committed dataset when installing from provenance directory
if (FALSE) { rdataretriever::install_postgres(dataset = "portal", user = "postgres", password = "abcdef") }
Run the code above in your browser using DataLab