Skip to contents

Create a NASIS Flat File for importing Pedon Records

Usage

create_PedonPC_NASIS_import(
  tables = NULL,
  filename,
  dsn = NULL,
  overwrite = FALSE
)

Arguments

tables

default NULL creates an empty template; alternately a list containing data.frames with target table names and new data to write to file.

filename

path to output file containing templates for importing each table associated with the NASIS Pedon object

dsn

optional path to SQLite Database or an open DBIConnection to a database containing NASIS pedon tables (not yet implemented)

overwrite

default FALSE prevents overwriting filename if it exists

Value

a character vector (invisibly) containing the lines/content written out to filename

Author

Jay Skovlin, Andrew G. Brown