read.gdbtable: Read Tables From ESRI Geodatabases

Description Usage Arguments Value

View source: R/reading.R

Description

A workaround using gdalUtils::ogr2ogr() and foreign::read.dbf() to read tables without geometry from ESRI geodatabases into R environments as data frames.

Usage

1
read.gdbtable(dsn, tablename, overwrite = TRUE, verbose = FALSE)

Arguments

dsn

Character string. The full filepath and filename (including file extension) of the geodatabase containing the table of interest.

tablename

Character string. The exact name of the table in the file geodatabase being read in.

overwrite

Logical. If TRUE then the intermediate step of writing the table to a temporary file as an ESRI shapefile can overwrite an existing shapefile if they share a filepath and filename. Defaults to TRUE.

verbose

Logical. Passed to gdalUtils::ogr2ogr(verbose). Verbose mode can be very helpful for troubleshooting. Defaults to FALSE.

Value

Data frame


nstauffer/dima.tools documentation built on May 20, 2019, 2:09 p.m.