valid_connection: This function creates the connection to a database

Description Usage Arguments Value See Also Examples

View source: R/postgresql.R

Description

This function creates the connection to a database

Usage

1
valid_connection(con = ".connection")

Arguments

dbname

the database.

host

database host, usually 'localhost'

Value

.connection – which is a global variable

See Also

Other postgresql functions: add_tables_db, agg_unit_ok, aggregate_data, already_uploaded, backup_database, column_exists, column_types, create_database, delete_data, get_column_names, get_connection, get_filenames_forSubject, get_filenames, get_row_count, get_sensor_data, get_subjectid, kill_pg_connections, list_tables, process_hexoskin, restore_database, table_exists, upload_postgres

Examples

1
2
get_connection(dbname="columbiaBike", host="localhost",
password="spatial", port=5433, user="postgres")

zevross-spatial/rpackage-sensorDataImport documentation built on Aug. 16, 2019, 4:53 p.m.