da_fields {arcpy} | R Documentation |
List Attribute Table Fields
Description
Read attribute table field names with 'arcpy.da“ module.
Usage
da_fields(table.path)
Arguments
table.path |
The file path to the table. |
Value
A vector of field names.
Examples
## 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)
[Package arcpy version 0.4-0 Index]