da_fields: List Attribute Table Fields

Description Usage Arguments Value Examples

View source: R/tables.r

Description

Read attribute table field names with arcpy.da module.

Usage

1
da_fields(table.path)

Arguments

table.path

The file path to the table.

Value

A vector of field names.

Examples

1
2
3
4
5
6
7
8
## Not run: 
arcpy$env$workspace = tempdir()
arcpy$env$scratchWorkspace = tempdir()
fc = arcpy$management$CopyFeatures(system.file("CA_Counties",
  "CA_Counties_TIGER2016.shp", package = "arcpy"), "CA_Counties")
da_fields(fc)

## End(Not run)

mkoohafkan/arcpy documentation built on Aug. 9, 2020, 2:51 p.m.