ingest_nri: Read NRI text files into a gdb

nri_field_namesR Documentation

Read NRI text files into a gdb

Description

Ingestion script to convert NRI text file format to database format

Usage

nri_field_names(dsn)

read_nri_text(table_name, dsn, DBKey = "auto")

ingest_nri(
  dsn,
  out,
  dsn_type = "gdb",
  rda = TRUE,
  uid = "",
  pwd = "",
  connection = ""
)

nri_subset(data, PK_subset, out)

Arguments

dsn

Vector of file paths to the folders where files are held. The last folder in the directory will be used to set the DBKey.

table_name

Name of the NRI data table (e.g., POINTCOORDINATES)

out

String. Filepath to the output database

dsn_type

Type of database. Defaults to geodatabase

data

Dateframe. NRI data table

Value

List of tables and if specified a populated database


smccord/terradactyl documentation built on Dec. 1, 2023, 7:37 p.m.