agg_unit_ok: This function creates a new postgreSQL database .

Description Usage Arguments Value See Also Examples

View source: R/extracting.R

Description

createDatabase will create a new postgresql database.

Usage

1
agg_unit_ok(aggregation_unit)

Arguments

dbname

Give the database a name.

port.

You likely don't need to change this.

Value

user.

See Also

Other postgresql functions: add_tables_db, 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, valid_connection

Examples

1
2
3
4
5
6
7
get_sensor_data(tablename="hxi", 
               aggregate = TRUE,
               clean_first = TRUE,
               vars = NULL,
               aggregation_unit="hour",
               grouping_vars = c("subjectid", "sessionid"),
               summarize_vars=c("cadence", "breathing_rate"))

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