Skip to content

Instantly share code, notes, and snippets.

@aaronbauman
Forked from timwis/property-assessments.v2.json
Last active October 11, 2019 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaronbauman/97cb8d9f1267e6795adb323f75846349 to your computer and use it in GitHub Desktop.
Save aaronbauman/97cb8d9f1267e6795adb323f75846349 to your computer and use it in GitHub Desktop.
Property assessments VizWit configuration
{
"version": "2",
"header": {
"title": "OPA Property Records",
"description": "Records of buildings and parcel data from the Office of Property Assessment. All maps and charts are interactive: click on an area to filter the visualization by that dimension, and scroll down to view the filtered results as a table.",
"navigation": [
{
"label": "Download",
"url": "https://data.phila.gov/api/views/3h6i-2hfj/rows.csv?accessType=DOWNLOAD&bom=true"
}
]
},
"cards": [
{
"x": 0,
"y": 0,
"width": 6,
"height": 4,
"vizwit": {
"title": "RCO Boundaries",
"provider": "carto",
"domain": "phl.carto.com",
"dataset": "opa_properties_public",
"chartType": "choropleth",
"groupBy": "census_tract",
"boundaries": "https://aaron-bauman.carto.com:443/api/v2/sql?q=select * from public.rcos&format=geojson",
"boundariesLabel": "organization_name",
"boundariesId": "cartodb_id"
}
},
{
"x": 6,
"y": 0,
"width": 6,
"height": 4,
"vizwit": {
"title": "Number of Properties by Zoning",
"description": "Determines the acceptable uses of the property (commercial, residential, etc.)",
"provider": "carto",
"domain": "phl.carto.com",
"dataset": "opa_properties_public",
"chartType": "bar",
"groupBy": "zoning"
}
},
{
"x": 0,
"y": 4,
"width": 6,
"height": 4,
"vizwit": {
"title": "Number of Properties by Category Code Description",
"provider": "carto",
"domain": "phl.carto.com",
"dataset": "opa_properties_public",
"chartType": "bar",
"groupBy": "category_code_description"
}
},
{
"x": 0,
"y": 8,
"width": 6,
"height": 4,
"vizwit": {
"title": "Number of Properties by Year Built",
"provider": "carto",
"domain": "phl.carto.com",
"dataset": "opa_properties_public",
"chartType": "bar",
"groupBy": "year_built"
}
},
{
"x": 0,
"y": 12,
"width": 12,
"height": 5,
"vizwit": {
"title": "Properties",
"chartType": "table",
"provider": "carto",
"domain": "phl.carto.com",
"dataset": "opa_properties_public",
"columnsToHide": [
"cartodb_id",
"objectid",
"the_geom",
"the_geom_webmercator"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment