Learn R Programming

RSocrata (version 1.7.15-1)

fieldName: Convert Socrata human-readable column name to field name

Description

Convert Socrata human-readable column name, as it might appear in the first row of data, to field name as it might appear in the HTTP header; that is, lower case, periods replaced with underscores#'

Usage

fieldName(humanName)

Value

Socrata field name

Arguments

humanName

- a Socrata human-readable column name

Author

Hugh J. Devlin, Ph. D. Hugh.Devlin@cityofchicago.org

Examples

Run this code
fieldName("Number.of.Stations") # number_of_stations

Run the code above in your browser using DataLab