importDat: Add data to an existing table

View source: R/importFuns.R

importDatR Documentation

Add data to an existing table

Description

Adds data to an existing database table. It is assumed that the geometry column in the data is named 'geometry'.

Usage

importDat(db, dat, schema, dtype, upserts)

Arguments

db

Database connection to OFPE formatted database.

dat

Data to be imported to the database to form the new table. Must be 'sp' object.

schema

Name of the schema with table.

dtype

The name of the table to add data to

upserts

Columns in the data to check against for appending data.

Value

NULL, data added to table in database.


paulhegedus/OFPE documentation built on Nov. 23, 2022, 5:09 a.m.