Types

Input and output to Socrata services consists of different types of data elements. Types include primitive types such as strings and integers as well as complex types that are composed of other types.

This section describes Socrata API types in detail.

boolean

A true/false value.

datetime

A date and time value, formatted as seconds since the Unix epoch.

integer

An integer numeric value.

string

A textual value.

User

The User provides data from user profiles. Profile information provided includes:There are a number of privacy options that control what data is disclosed in a user's profile. A user that has opted not to disclose their real name, for example, will automatically have other private profile details such as city and birthday hidden

Fields:

View

In these Services, "tables" and "views" are interchangibly treated as the same entity, a View. A View includes all of the metadata about a table or view, including descriptive values such as name, description, and tags, as well as structural data like the ViewColumns it contains and any SortBys or ViewFilters that have been specified.

Fields: