da_fields: List Attribute Table Fields

View source: R/tables.r

da_fieldsR 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)


mkoohafkan/arcpy documentation built on Feb. 5, 2024, 9:55 a.m.