Skip to main content

CensusVariable

Individual census variable with metadata.

categoryCategory (string)required

Variable category

Example: demographics
subcategorySubcategory (string)required

Variable subcategory

Example: age
value_typeValue Type (string)required

Type of value (total, percentage, currency)

Example: percentage
value objectnullablerequired

The census value

anyOf
number
base_variableBase Variable (string)nullable

Base variable key for percentages

CensusVariable
{
"category": "demographics",
"subcategory": "age",
"value_type": "percentage",
"value": 0,
"base_variable": "string"
}