Learn R Programming

RSocrata (version 1.6.0-12)

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)

Arguments

humanName
a Socrata human-readable column name

Value

  • Socrata field name

Examples

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

Run the code above in your browser using DataLab