Skip to content

Instantly share code, notes, and snippets.

@isc-rsingh
Last active May 2, 2017 15:14
Show Gist options
  • Save isc-rsingh/f3958ce03ddd32646b5ade757cfdcee9 to your computer and use it in GitHub Desktop.
Save isc-rsingh/f3958ce03ddd32646b5ade757cfdcee9 to your computer and use it in GitHub Desktop.
Analyze Boston geographic open data sets
{
"help": "https://data.boston.gov/api/3/action/help_show?name=current_package_list_with_resources",
"success": true,
"result": [{
"notes_translated": {
"en": "This data set includes all channels of engagement in which a service request is created.\r\n\r\nRefer to this link to learn more about **BOS:311**: https://www.cityofboston.gov/311/"
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "public",
"relationships_as_object": [],
"contact_point_email": "311supervisors@boston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 4,
"license_id": "odc-pddl",
"open": "open",
"id": "8048697b-ad64-4bfc-b090-ee00169f2323",
"metadata_created": "2017-01-10T19:30:20.779833",
"title_translated": {
"en": "311 service requests"
},
"metadata_modified": "2017-04-25T18:25:20.154046",
"author": null,
"author_email": null,
"icon_url": "http://gdurl.com/waVU",
"state": "active",
"source": ["City Constituent Relationship Management system"],
"theme": ["city_services"],
"version": null,
"location": [],
"temporal_notes": {
"en": "Updated daily starting 2011"
},
"creator_user_id": "25c6af7d-acbf-4def-b8a8-4fce311e53c8",
"contact_point": "Boston 311",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "8048697b-ad64-4bfc-b090-ee00169f2323",
"webstore_last_updated": null,
"datastore_active": true,
"id": "2968e2c0-d479-49ba-a884-4ef523ada3c0",
"size": null,
"state": "active",
"name_translated": {
"en": "311 service requests"
},
"hash": "",
"description": "Updated daily",
"format": "CSV",
"description_translated": {
"en": "Updated daily"
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "311 Service Requests",
"language": ["en"],
"created": "2017-03-29T13:44:22.669602",
"data_dictionary": ["enabled"],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/8048697b-ad64-4bfc-b090-ee00169f2323/resource/2968e2c0-d479-49ba-a884-4ef523ada3c0/download/311.csv",
"last_modified": "2017-04-25T12:00:49.848700",
"position": 0,
"revision_id": "5ac7124e-4166-44db-9abb-a4ea6a4f723b",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "8048697b-ad64-4bfc-b090-ee00169f2323",
"webstore_last_updated": null,
"datastore_active": false,
"id": "b237f352-49d1-4423-804f-b478e4f24e61",
"size": null,
"state": "active",
"name_translated": {
"en": "CRM Value Codex"
},
"hash": "",
"description": "Helps in interpreting actual values given in columns",
"format": "PDF",
"description_translated": {
"en": "Helps in interpreting actual values given in columns"
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-04-06T15:56:15.964277",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/8048697b-ad64-4bfc-b090-ee00169f2323/resource/b237f352-49d1-4423-804f-b478e4f24e61/download/datadictionary-crmvaluecodeindex.pdf",
"last_modified": "2017-04-06T15:56:15.920394",
"position": 1,
"revision_id": "3b3ca0f9-f753-4317-ba52-51ecd50e838c",
"resource_type": null
}],
"num_resources": 2,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "311",
"id": "2a690d6b-c325-4d16-ba0b-98ffd8f872ee",
"name": "311"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "CRM",
"id": "5d6fc1b1-6150-4e2a-8264-dd1c9e9ab01f",
"name": "CRM"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "Case management",
"id": "b103b565-2931-4c26-80fb-4abe5eedbcfc",
"name": "Case management"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "city services",
"id": "7222338c-7c21-4ab8-9f89-71b5abd68e2c",
"name": "city services"
}],
"groups": [{
"display_name": "City Services",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2017-01-17-210311.757864governmentbuilding160.png",
"title": "City Services",
"id": "5287bf7d-3e3f-40a4-96ac-c0b0377fa0ae",
"name": "city-services"
}],
"contact_point_phone": "617-635-4500",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "311 is an easy-to-remember telephone number that connects you with highly-trained Constituent Service Center representatives who are ready to help you with requests for non-emergency City services and information.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/bos311\" target=\"_blank\">MORE INFO</a>",
"created": "2017-01-16T20:39:55.773887",
"title": "Boston 311",
"name": "boston-311-org",
"is_organization": true,
"state": "active",
"image_url": "https://www.boston.gov/sites/default/files/department_icons/icons_engagment_-_311_-_ons.svg",
"revision_id": "c8fc3166-b262-4a58-b0b4-76d19251f42c",
"type": "organization",
"id": "188d8440-c096-492a-8798-4a44ccc6faaa",
"approval_status": "approved"
},
"name": "311-service-requests",
"isopen": true,
"accrual_periodicity": "R/P1D",
"notes": "This data set includes all channels of engagement in which a service request is created.\r\n\r\nRefer to this link to learn more about **BOS:311**: https://www.cityofboston.gov/311/",
"owner_org": "188d8440-c096-492a-8798-4a44ccc6faaa",
"url": "",
"extras": [{
"key": "provider",
"value": "311"
}],
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": ["tabular"],
"title": "311 service requests",
"revision_id": "396cb172-84cf-46d7-b5fb-7d24edfb7629"
}, {
"notes_translated": {
"en": "Provides metrics on overall city health based on work done across all facets of the City of Boston.\r\n\r\nFor more information about CityScore, please refer to this link: https://www.boston.gov/cityscore"
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "public",
"relationships_as_object": [],
"contact_point_email": "analytics@boston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 8,
"license_id": "odc-pddl",
"open": "",
"id": "7ae458ed-cd6a-47fa-8571-e323e488b70b",
"metadata_created": "2017-01-10T19:29:43.167602",
"title_translated": {
"en": "CityScore"
},
"metadata_modified": "2017-04-25T17:03:52.847273",
"author": null,
"author_email": null,
"icon_url": "http://gdurl.com/5vjj",
"state": "active",
"source": ["Boston Police Department crime statistics feed", "Boston Public Library enterprise Integrated Library System", "City Constituent Relationship Management system", "City of Boston Voice over IP System", "Citywide enterprise permitting and licensing software", "Computer Aided Dispatch system"],
"theme": ["performance"],
"version": null,
"location": ["all"],
"temporal_notes": {
"en": "Please note that CityScore captures a data snapshot once every weekday. Source systems are constantly updating, and these updates can include revisions to existing data that could affect CityScore's calculations. The most recent records are always the most accurate. In addition, you may notice null values in the data set, which indicate that CityScore has no data for a given time period. This most often occurs when a particular data source is updated on a different schedule than CityScore's calculations. We are currently working to adjust our process to allow CityScore to capture data every day, including weekends, as well as to retroactively generate values for fields created after the initial CityScore launch in January 2016."
},
"creator_user_id": "25c6af7d-acbf-4def-b8a8-4fce311e53c8",
"contact_point": "DoIT Data and Analytics",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "7ae458ed-cd6a-47fa-8571-e323e488b70b",
"webstore_last_updated": null,
"datastore_active": true,
"id": "5bce8e71-5192-48c0-ab13-8faff8fef4d7",
"size": null,
"state": "active",
"name_translated": {
"en": "CityScore full metric list"
},
"hash": "",
"description": "Full CityScore metric list containing actual, target, and score data.",
"format": "CSV",
"description_translated": {
"en": "Full CityScore metric list containing actual, target, and score data."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "CityScore Full Metric List",
"language": ["en"],
"created": "2017-03-24T12:39:22.484181",
"data_dictionary": ["enabled"],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/7ae458ed-cd6a-47fa-8571-e323e488b70b/resource/5bce8e71-5192-48c0-ab13-8faff8fef4d7/download/rptcityscoresummary.csv",
"last_modified": "2017-04-25T16:58:53.973139",
"position": 0,
"revision_id": "497f19e2-1266-42ad-a9f8-71129b8f9efb",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "7ae458ed-cd6a-47fa-8571-e323e488b70b",
"webstore_last_updated": null,
"datastore_active": true,
"id": "edc24d12-4e0d-43dd-a61d-687fc65e2d1b",
"size": null,
"state": "active",
"name_translated": {
"en": "CityScore summary"
},
"hash": "",
"description": "Daily average CityScore.",
"format": "CSV",
"description_translated": {
"en": "Daily average CityScore."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "CityScore Summary",
"language": [],
"created": "2017-03-24T12:44:20.457369",
"data_dictionary": ["enabled"],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/7ae458ed-cd6a-47fa-8571-e323e488b70b/resource/edc24d12-4e0d-43dd-a61d-687fc65e2d1b/download/rptcityscoreaggv.csv",
"last_modified": "2017-04-25T17:03:51.224737",
"position": 1,
"revision_id": "74004aa7-0ecf-4f8f-be03-351fe1d7d5ae",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "7ae458ed-cd6a-47fa-8571-e323e488b70b",
"webstore_last_updated": null,
"datastore_active": false,
"id": "db7b8b86-5c35-45b2-9276-5a6527ae6edc",
"size": null,
"state": "active",
"name_translated": {
"en": "CityScore Metric Definitions"
},
"hash": "",
"description": "This document of CityScore Metric Definitions applies to both the CityScore full metric list and CityScore summary. ",
"format": "PDF",
"description_translated": {
"en": "This document of CityScore Metric Definitions applies to both the CityScore full metric list and CityScore summary. "
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": [],
"created": "2017-04-06T15:42:24.264268",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/7ae458ed-cd6a-47fa-8571-e323e488b70b/resource/db7b8b86-5c35-45b2-9276-5a6527ae6edc/download/cityscoremetricdefinitions-1.pdf",
"last_modified": "2017-04-06T15:42:24.206980",
"position": 2,
"revision_id": "feb60fbc-e52f-4b0a-9adf-9f47f8366b03",
"resource_type": null
}],
"num_resources": 3,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "City services",
"id": "dfba6ec1-9d9c-4655-a94e-ba32e25c6d28",
"name": "City services"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "dashboard",
"id": "af8667ee-4ebc-4d57-8d78-3ea047325287",
"name": "dashboard"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "metrics",
"id": "985b6f20-0f6a-44d2-bb89-dea733178ef3",
"name": "metrics"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "performance",
"id": "ca36d1d8-72d5-450d-836b-52510d0efa74",
"name": "performance"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "public safety",
"id": "3831dafc-c02a-402c-847e-7bf0ee839418",
"name": "public safety"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "public works",
"id": "c020b37e-9577-4083-b481-c33df6f3cec5",
"name": "public works"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "scores",
"id": "d63ae9b0-aee5-4002-9a75-7c5991493154",
"name": "scores"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "targets",
"id": "a7bbd057-631c-41e2-ad5c-de01925d1f05",
"name": "targets"
}],
"groups": [{
"display_name": "City Services",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2017-01-17-210311.757864governmentbuilding160.png",
"title": "City Services",
"id": "5287bf7d-3e3f-40a4-96ac-c0b0377fa0ae",
"name": "city-services"
}],
"contact_point_phone": "(617) 635-4783",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "The Citywide Analytics Team is the City of Boston\u2019s central data organization. We use data and technology to improve our City.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/analytics-team\" target=\"_blank\">MORE INFO</a>",
"created": "2017-01-16T20:11:23.600812",
"title": "DoIT Data & Analytics",
"name": "doit-data-analytics-org",
"is_organization": true,
"state": "active",
"image_url": "https://www.boston.gov/sites/default/files/department-icon-10-2016/department_icons_new_analytics.svg",
"revision_id": "fc0f2f4c-5e25-4e3d-97db-8248ce78cb5c",
"type": "organization",
"id": "4719afa8-2223-474a-9ca3-a2002a3a8ac2",
"approval_status": "approved"
},
"name": "cityscore",
"isopen": true,
"accrual_periodicity": "R/P1D",
"notes": "Provides metrics on overall city health based on work done across all facets of the City of Boston.\r\n\r\nFor more information about CityScore, please refer to this link: https://www.boston.gov/cityscore",
"owner_org": "4719afa8-2223-474a-9ca3-a2002a3a8ac2",
"url": "",
"extras": [{
"key": "provider",
"value": "DoIT Data and Analytics"
}],
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": ["tabular"],
"title": "CityScore",
"revision_id": "59806d6b-94b5-403a-a5d0-21ab402378f4"
}, {
"notes_translated": {
"en": "The Department of Public Works' Construction Inspection Unit (CIU) produces a daily report on all active utility and private sector construction projects taking place in the City, Monday through Friday.\r\n\r\nIt also lists all resurfacing and reconstruction projects. Emergency work that is identified outside of normal business hours is made available on the following day's report. This is a legacy dataset containing active construction sites, with details such as neighborhood, reason for work, and estimated date of completion."
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "",
"relationships_as_object": [],
"contact_point_email": "opengov@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 5,
"license_id": "odc-pddl",
"open": "",
"id": "f9f57091-92f3-463a-8f1c-93e46361296d",
"metadata_created": "2016-12-11T22:18:46.324786",
"title_translated": {
"en": "Public Works Active Work Zones"
},
"metadata_modified": "2017-04-25T13:13:52.432859",
"author": null,
"author_email": null,
"icon_url": "http://gdurl.com/prB4",
"state": "active",
"source": [],
"theme": [],
"version": null,
"location": [],
"temporal_notes": {
"en": "This dataset contains records of currently active work zones."
},
"creator_user_id": "fe140128-8d10-4c2e-85f6-e38513f088ce",
"contact_point": "Department of Innovation and Technology",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "f9f57091-92f3-463a-8f1c-93e46361296d",
"webstore_last_updated": null,
"datastore_active": true,
"id": "36fcf981-e414-4891-93ea-f5905cec46fc",
"size": null,
"state": "active",
"name_translated": {
"en": "Public Works Active Work Zones"
},
"hash": "",
"description": "",
"format": "CSV",
"description_translated": {
"en": ""
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "Public Works Active Work Zones",
"language": [],
"created": "2017-02-01T18:59:33.249823",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/f9f57091-92f3-463a-8f1c-93e46361296d/resource/36fcf981-e414-4891-93ea-f5905cec46fc/download/streetconstruction.csv",
"last_modified": "2017-04-25T13:13:51.720837",
"position": 0,
"revision_id": "ed3446a7-441f-4ef0-b233-88451cea87f5",
"resource_type": null
}],
"num_resources": 1,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "construction",
"id": "8a495359-c975-4e3f-96a9-91faa40e2e0f",
"name": "construction"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "legacy portal",
"id": "c4071bc5-bd58-42b8-bd6a-38cd3115ec8e",
"name": "legacy portal"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "paving",
"id": "3452f195-9f50-4fc5-b155-a4258d0b81d1",
"name": "paving"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "public works",
"id": "c020b37e-9577-4083-b481-c33df6f3cec5",
"name": "public works"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "work zones",
"id": "43ed6b6e-0038-40d7-9f19-be6bbfe1a990",
"name": "work zones"
}],
"groups": [{
"display_name": "Permitting",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2016-10-05-202951.132631permit160.png",
"title": "Permitting",
"id": "4e3729a8-1794-4c85-8d9a-a5908131cd67",
"name": "permitting"
}],
"contact_point_phone": "",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We manage the City\u2019s websites and technologies, like the BOS:311 app, that are focused on service delivery. We also ensure that the networks, computers, e-mail systems, and applications that support the business of City government are continuously available and operating both securely and effectively.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/innovation-and-technology\" target=\"_blank\">MORE INFO</a>",
"created": "2016-11-16T16:01:40.735325",
"title": "Department of Innovation and Technology",
"name": "department-of-innovation-and-technology-org",
"is_organization": true,
"state": "active",
"image_url": "2016-12-12-231949.338915iconsDoIT.svg",
"revision_id": "2ef9a7fd-4ed6-48c9-8a78-466e1f13f631",
"type": "organization",
"id": "80644104-7cff-4322-b2a3-33466d5e98bb",
"approval_status": "approved"
},
"name": "public-works-active-work-zones",
"isopen": true,
"accrual_periodicity": "",
"notes": "The Department of Public Works' Construction Inspection Unit (CIU) produces a daily report on all active utility and private sector construction projects taking place in the City, Monday through Friday.\r\n\r\nIt also lists all resurfacing and reconstruction projects. Emergency work that is identified outside of normal business hours is made available on the following day's report. This is a legacy dataset containing active construction sites, with details such as neighborhood, reason for work, and estimated date of completion.",
"owner_org": "80644104-7cff-4322-b2a3-33466d5e98bb",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": [],
"title": "Public Works Active Work Zones",
"revision_id": "f670c831-fbd5-4e44-b888-1c45bd3d66f0"
}, {
"notes_translated": {
"en": "The Health Division of the Department of Inspectional Services ensures that all food establishments in the City of Boston meet relevant sanitary codes and standards. Businesses that serve food are inspected at least once a year, and follow-up inspections are performed on high risk establishments. Health inspections are also conducted in response to complaints of unsanitary conditions or illness. This is a legacy dataset containing records of individual inspections and results."
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "",
"relationships_as_object": [],
"contact_point_email": "opengov@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 6,
"license_id": "odc-pddl",
"open": "",
"id": "03693648-2c62-4a2c-a4ec-48de2ee14e18",
"metadata_created": "2017-01-25T01:42:20.267813",
"title_translated": {
"en": "Food Establishment Inspections"
},
"metadata_modified": "2017-04-25T11:37:27.650046",
"author": null,
"author_email": null,
"icon_url": "http://boston.ogopendata.com:81/files/EXPERIENTIAL_ICONS_food_assistance-.png",
"state": "active",
"source": [],
"theme": [],
"version": null,
"location": [],
"temporal_notes": {
"en": "The majority of inspections within the dataset occurred between April 2006 to current."
},
"creator_user_id": "b4739f40-9ca2-4ce4-b26f-69b3ffef3183",
"contact_point": "Department of Innovation and Technology",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "03693648-2c62-4a2c-a4ec-48de2ee14e18",
"webstore_last_updated": null,
"datastore_active": true,
"id": "4582bec6-2b4f-4f9e-bc55-cbaa73117f4c",
"size": null,
"state": "active",
"name_translated": {},
"hash": "",
"description": "",
"format": "CSV",
"description_translated": {},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "Food Establishment Inspections",
"language": [],
"created": "2017-02-04T00:21:06.939416",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/03693648-2c62-4a2c-a4ec-48de2ee14e18/resource/4582bec6-2b4f-4f9e-bc55-cbaa73117f4c/download/mayorsfoodcourt.csv",
"last_modified": "2017-04-25T11:36:35.757291",
"position": 0,
"revision_id": "12eaf9d2-38cf-452c-83f4-7e1e7233be2c",
"resource_type": null
}],
"num_resources": 1,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "food",
"id": "9077f17a-c095-4ef3-ae34-672769409c94",
"name": "food"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "health",
"id": "b8b080c5-9e5f-4c2c-915f-dee530b9b4b1",
"name": "health"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "inspections",
"id": "44779f0c-8354-45f4-af67-e234a7c602ed",
"name": "inspections"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "legacy portal",
"id": "c4071bc5-bd58-42b8-bd6a-38cd3115ec8e",
"name": "legacy portal"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "restaurants",
"id": "826951b0-9c34-482d-9c5f-10efe81ccec5",
"name": "restaurants"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "violations",
"id": "f13f667d-c4b3-4f7a-b4c3-9f5f1f1b07a9",
"name": "violations"
}],
"groups": [{
"display_name": "Permitting",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2016-10-05-202951.132631permit160.png",
"title": "Permitting",
"id": "4e3729a8-1794-4c85-8d9a-a5908131cd67",
"name": "permitting"
}],
"contact_point_phone": "",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We manage the City\u2019s websites and technologies, like the BOS:311 app, that are focused on service delivery. We also ensure that the networks, computers, e-mail systems, and applications that support the business of City government are continuously available and operating both securely and effectively.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/innovation-and-technology\" target=\"_blank\">MORE INFO</a>",
"created": "2016-11-16T16:01:40.735325",
"title": "Department of Innovation and Technology",
"name": "department-of-innovation-and-technology-org",
"is_organization": true,
"state": "active",
"image_url": "2016-12-12-231949.338915iconsDoIT.svg",
"revision_id": "2ef9a7fd-4ed6-48c9-8a78-466e1f13f631",
"type": "organization",
"id": "80644104-7cff-4322-b2a3-33466d5e98bb",
"approval_status": "approved"
},
"name": "food-establishment-inspections",
"isopen": true,
"accrual_periodicity": "R/P1D",
"notes": "The Health Division of the Department of Inspectional Services ensures that all food establishments in the City of Boston meet relevant sanitary codes and standards. Businesses that serve food are inspected at least once a year, and follow-up inspections are performed on high risk establishments. Health inspections are also conducted in response to complaints of unsanitary conditions or illness. This is a legacy dataset containing records of individual inspections and results.",
"owner_org": "80644104-7cff-4322-b2a3-33466d5e98bb",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": [],
"title": "Food Establishment Inspections",
"revision_id": "43bef90f-728d-43cf-8580-7264f7f6082a"
}, {
"notes_translated": {
"en": "Since 1983, the Boston Residents Jobs Policy sets employment standards for City sponsored, privately funded, and federally mandated development projects taking place in the City. This compliance report dataset provides information on how project managers and specific development projects are meeting the requirements of the policy based on the workers they employ. By collecting and publishing data on the Residents Jobs Policy, the City seeks to reduce racial and gender inequality within construction projects, and also provide greater employment opportunities for residents of Boston. "
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "",
"relationships_as_object": [],
"contact_point_email": "opengov@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 4,
"license_id": "odc-pddl",
"open": "",
"id": "7344db71-87f6-4598-8d20-edbcaad4b9b2",
"metadata_created": "2016-12-11T22:16:06.005968",
"title_translated": {
"en": "Boston Jobs Policy Compliance Reports"
},
"metadata_modified": "2017-04-25T11:31:05.375292",
"author": null,
"author_email": null,
"icon_url": "http://boston.ogopendata.com:81/files/EXPERIENTIAL_ICONS_Certificate.png",
"state": "active",
"source": [],
"theme": [],
"version": null,
"location": [],
"temporal_notes": {
"en": "This dataset contains Residents Jobs Policy data on workers from May 2006 to current."
},
"creator_user_id": "fe140128-8d10-4c2e-85f6-e38513f088ce",
"contact_point": "Department of Innovation and Technology",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "7344db71-87f6-4598-8d20-edbcaad4b9b2",
"webstore_last_updated": null,
"datastore_active": true,
"id": "5ab4b4de-c970-4619-ab55-ce4338535b24",
"size": null,
"state": "active",
"name_translated": {},
"hash": "",
"description": "",
"format": "CSV",
"description_translated": {},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "Boston Jobs Policy Compliance Reports",
"language": [],
"created": "2017-02-04T00:16:34.932712",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/7344db71-87f6-4598-8d20-edbcaad4b9b2/resource/5ab4b4de-c970-4619-ab55-ce4338535b24/download/compliance.csv",
"last_modified": "2017-04-25T11:31:05.361155",
"position": 0,
"revision_id": "c87916fd-0d47-4ca1-b4ce-475c02eff039",
"resource_type": null
}],
"num_resources": 1,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "bra",
"id": "93ad1262-f8fc-42b1-be36-ce241a7b5627",
"name": "bra"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "jobs",
"id": "15712433-4785-4fd1-8d04-2021ce396aaa",
"name": "jobs"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "legacy portal",
"id": "c4071bc5-bd58-42b8-bd6a-38cd3115ec8e",
"name": "legacy portal"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "residency",
"id": "4af924e8-f04c-40c0-a825-be6d8f34dd53",
"name": "residency"
}],
"groups": [{
"display_name": "City Services",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2017-01-17-210311.757864governmentbuilding160.png",
"title": "City Services",
"id": "5287bf7d-3e3f-40a4-96ac-c0b0377fa0ae",
"name": "city-services"
}],
"contact_point_phone": "",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We manage the City\u2019s websites and technologies, like the BOS:311 app, that are focused on service delivery. We also ensure that the networks, computers, e-mail systems, and applications that support the business of City government are continuously available and operating both securely and effectively.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/innovation-and-technology\" target=\"_blank\">MORE INFO</a>",
"created": "2016-11-16T16:01:40.735325",
"title": "Department of Innovation and Technology",
"name": "department-of-innovation-and-technology-org",
"is_organization": true,
"state": "active",
"image_url": "2016-12-12-231949.338915iconsDoIT.svg",
"revision_id": "2ef9a7fd-4ed6-48c9-8a78-466e1f13f631",
"type": "organization",
"id": "80644104-7cff-4322-b2a3-33466d5e98bb",
"approval_status": "approved"
},
"name": "boston-jobs-policy-compliance-reports",
"isopen": true,
"accrual_periodicity": "",
"notes": "Since 1983, the Boston Residents Jobs Policy sets employment standards for City sponsored, privately funded, and federally mandated development projects taking place in the City. This compliance report dataset provides information on how project managers and specific development projects are meeting the requirements of the policy based on the workers they employ. By collecting and publishing data on the Residents Jobs Policy, the City seeks to reduce racial and gender inequality within construction projects, and also provide greater employment opportunities for residents of Boston. ",
"owner_org": "80644104-7cff-4322-b2a3-33466d5e98bb",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": [],
"title": "Boston Jobs Policy Compliance Reports",
"revision_id": "4959420d-46b6-4047-86e1-b50b99b13cf5"
}, {
"notes_translated": {
"en": "Citations issued by the Public Works Department's Code Enforcement Division."
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "",
"relationships_as_object": [],
"contact_point_email": "opengov@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 7,
"license_id": "odc-pddl",
"open": "",
"id": "5e634724-fe64-4762-9648-b4ceb3da5510",
"metadata_created": "2017-01-25T01:50:38.030995",
"title_translated": {
"en": "Code enforcement- Building and Property Violations"
},
"metadata_modified": "2017-04-25T11:24:48.763212",
"author": null,
"author_email": null,
"icon_url": "http://gdurl.com/NZwA",
"state": "active",
"source": [],
"theme": [],
"version": null,
"location": [],
"temporal_notes": {
"en": "Dataset contains citations from December 2012 to current."
},
"creator_user_id": "b4739f40-9ca2-4ce4-b26f-69b3ffef3183",
"contact_point": "Department of Innovation and Technology",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "5e634724-fe64-4762-9648-b4ceb3da5510",
"webstore_last_updated": null,
"datastore_active": true,
"id": "90ed3816-5e70-443c-803d-9a71f44470be",
"size": null,
"state": "active",
"name_translated": {},
"hash": "",
"description": "",
"format": "CSV",
"description_translated": {},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "Code Enforcement - Building and Property Violations",
"language": [],
"created": "2017-02-04T00:28:39.881479",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/5e634724-fe64-4762-9648-b4ceb3da5510/resource/90ed3816-5e70-443c-803d-9a71f44470be/download/cepviolations.csv",
"last_modified": "2017-04-25T11:24:48.749910",
"position": 0,
"revision_id": "4b54ee75-3dd1-40f6-a637-843dc3c46a6f",
"resource_type": null
}],
"num_resources": 1,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "Public Works",
"id": "82ab0435-643f-459c-abe5-c55fd6f4efd8",
"name": "Public Works"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "buildings",
"id": "eedb9367-97a7-4caa-9ba3-c8caaaaee7c7",
"name": "buildings"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "citations",
"id": "36bcfff5-0259-4bd1-8100-7ca49fd1d3c6",
"name": "citations"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "code enforcement",
"id": "2540feeb-7724-416e-9bbc-6cd2b66bb8b1",
"name": "code enforcement"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "permits",
"id": "3ef156fd-c778-4701-b433-cf5b9fb2236a",
"name": "permits"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "snow",
"id": "0c384105-4e7a-4aef-a81a-5fd1cf31f655",
"name": "snow"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "violations",
"id": "f13f667d-c4b3-4f7a-b4c3-9f5f1f1b07a9",
"name": "violations"
}],
"groups": [],
"contact_point_phone": "",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We ensure that Boston\u2019s streets, sidewalks, and bridges are safe, clean and attractive. We maintain street lights and provide snow and ice control. We also manage residential garbage collection and disposal as well as curbside recycling.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/public-works\" target=\"_blank\">MORE INFO</a>",
"created": "2017-02-09T14:35:36.236225",
"title": "Public Works Department",
"name": "public-works-department-org",
"is_organization": true,
"state": "active",
"image_url": "https://www.boston.gov/sites/default/files/department_icons/icons_public_works.svg",
"revision_id": "eb1053e0-8a44-4d1b-bb8a-ad55e375c86f",
"type": "organization",
"id": "67c2d527-1bc2-4acd-8a39-3184d1d56567",
"approval_status": "approved"
},
"name": "code-enforcement-building-and-property-violations",
"isopen": true,
"accrual_periodicity": "R/P1D",
"notes": "Citations issued by the Public Works Department's Code Enforcement Division.",
"owner_org": "67c2d527-1bc2-4acd-8a39-3184d1d56567",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": [],
"title": "Code enforcement- Building and Property Violations",
"revision_id": "67751e02-6b04-4eea-bb8e-5e4843352971"
}, {
"notes_translated": {
"en": "The Health Division of the Department of Inspectional Services (ISD) creates and enforces food safety codes to protect public health. All businesses which prepare and sell food to the public must possess a food service permit. In order to qualify for a permit, at least one full time employee must be must be certified through an accredited food manager program, which provides guidance on handling and serving food to the public. \n\nThis dataset contains a list of restaurants that met the City's standards to become licensed food service establishments."
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "",
"relationships_as_object": [],
"contact_point_email": "opengov@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 4,
"license_id": "odc-pddl",
"open": "",
"id": "5e4182e3-ba1e-4511-88f8-08a70383e1b6",
"metadata_created": "2016-12-11T22:21:38.489052",
"title_translated": {
"en": "Active Food Establishment Licenses"
},
"metadata_modified": "2017-04-25T11:18:55.447585",
"author": null,
"author_email": null,
"icon_url": "http://boston.ogopendata.com:81/files/EXPERIENTIAL_ICONS_Certificate.png",
"state": "active",
"source": [],
"theme": [],
"version": null,
"location": [],
"temporal_notes": {
"en": "Dataset contains records of licensed food establishments from December 2006 to current."
},
"creator_user_id": "fe140128-8d10-4c2e-85f6-e38513f088ce",
"contact_point": "Department of Innovation and Technology",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "5e4182e3-ba1e-4511-88f8-08a70383e1b6",
"webstore_last_updated": null,
"datastore_active": true,
"id": "f1e13724-284d-478c-b8bc-ef042aa5b70b",
"size": null,
"state": "active",
"name_translated": {},
"hash": "",
"description": "",
"format": "CSV",
"description_translated": {},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "Active Food Establishment Licenses",
"language": [],
"created": "2017-02-01T15:55:13.037144",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/5e4182e3-ba1e-4511-88f8-08a70383e1b6/resource/f1e13724-284d-478c-b8bc-ef042aa5b70b/download/licenses.csv",
"last_modified": "2017-04-25T11:18:52.009552",
"position": 0,
"revision_id": "289cd82b-04e6-4a86-800c-1fa417c4bf68",
"resource_type": null
}],
"num_resources": 1,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "business",
"id": "4f36c883-d1a3-44ba-a7d2-5cfe7d358633",
"name": "business"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "food",
"id": "9077f17a-c095-4ef3-ae34-672769409c94",
"name": "food"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "inspections",
"id": "44779f0c-8354-45f4-af67-e234a7c602ed",
"name": "inspections"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "restaurants",
"id": "826951b0-9c34-482d-9c5f-10efe81ccec5",
"name": "restaurants"
}],
"groups": [{
"display_name": "Permitting",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2016-10-05-202951.132631permit160.png",
"title": "Permitting",
"id": "4e3729a8-1794-4c85-8d9a-a5908131cd67",
"name": "permitting"
}],
"contact_point_phone": "",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We manage the City\u2019s websites and technologies, like the BOS:311 app, that are focused on service delivery. We also ensure that the networks, computers, e-mail systems, and applications that support the business of City government are continuously available and operating both securely and effectively.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/innovation-and-technology\" target=\"_blank\">MORE INFO</a>",
"created": "2016-11-16T16:01:40.735325",
"title": "Department of Innovation and Technology",
"name": "department-of-innovation-and-technology-org",
"is_organization": true,
"state": "active",
"image_url": "2016-12-12-231949.338915iconsDoIT.svg",
"revision_id": "2ef9a7fd-4ed6-48c9-8a78-466e1f13f631",
"type": "organization",
"id": "80644104-7cff-4322-b2a3-33466d5e98bb",
"approval_status": "approved"
},
"name": "active-food-establishment-licenses",
"isopen": true,
"accrual_periodicity": "",
"notes": "The Health Division of the Department of Inspectional Services (ISD) creates and enforces food safety codes to protect public health. All businesses which prepare and sell food to the public must possess a food service permit. In order to qualify for a permit, at least one full time employee must be must be certified through an accredited food manager program, which provides guidance on handling and serving food to the public. \n\nThis dataset contains a list of restaurants that met the City's standards to become licensed food service establishments.",
"owner_org": "80644104-7cff-4322-b2a3-33466d5e98bb",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": [],
"title": "Active Food Establishment Licenses",
"revision_id": "8e5eafdf-a3ec-49a0-a66a-f606adf212a0"
}, {
"notes_translated": {
"en": "Crime incident reports are provided by Boston Police Department (BPD) to document the initial details surrounding an incident to which BPD officers respond. This is a dataset containing records from the new crime incident report system, which includes a reduced set of fields focused on capturing the type of incident as well as when and where it occurred. Records in the new system begin in June of 2015. "
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "",
"relationships_as_object": [],
"contact_point_email": "opengov@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 4,
"license_id": "odc-pddl",
"open": "",
"id": "6220d948-eae2-4e4b-8723-2dc8e67722a3",
"metadata_created": "2016-12-11T22:04:25.766562",
"title_translated": {
"en": "Crime Incident Reports (August 2015 - To Date) (Source: New System)"
},
"metadata_modified": "2017-04-25T11:10:16.907341",
"author": null,
"author_email": null,
"icon_url": "http://gdurl.com/cnma",
"state": "active",
"source": [],
"theme": [],
"version": null,
"location": [],
"temporal_notes": {
"en": "This dataset contains records of crime incident reports using the new system starting in June of 2015."
},
"creator_user_id": "fe140128-8d10-4c2e-85f6-e38513f088ce",
"contact_point": "Department of Innovation and Technology",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "6220d948-eae2-4e4b-8723-2dc8e67722a3",
"webstore_last_updated": null,
"datastore_active": true,
"id": "12cb3883-56f5-47de-afa5-3b1cf61b257b",
"size": null,
"state": "active",
"name_translated": {},
"hash": "",
"description": "",
"format": "CSV",
"description_translated": {},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": "Crime Incident Reports (August 2015 - To Date) (Source: New System) ",
"language": [],
"created": "2017-02-04T00:04:26.339020",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/6220d948-eae2-4e4b-8723-2dc8e67722a3/resource/12cb3883-56f5-47de-afa5-3b1cf61b257b/download/crime.csv",
"last_modified": "2017-04-25T11:09:21.019581",
"position": 0,
"revision_id": "272de792-fd30-4c57-90e9-2d97cf6b597d",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "6220d948-eae2-4e4b-8723-2dc8e67722a3",
"webstore_last_updated": null,
"datastore_active": true,
"id": "9c30453a-fefa-4fe0-b51a-5fc09b0f4655",
"size": null,
"state": "active",
"name_translated": {
"en": "RMS_Crime_Incident_Field_Explanation"
},
"hash": "",
"description": "",
"format": "XLSX",
"description_translated": {
"en": ""
},
"mimetype_inner": null,
"url_type": "upload",
"revision_id": "ea09c54e-2f72-4f48-941f-63354783bd3e",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-03-15T15:07:40.413398",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/6220d948-eae2-4e4b-8723-2dc8e67722a3/resource/9c30453a-fefa-4fe0-b51a-5fc09b0f4655/download/rmscrimeincidentfieldexplanation.xlsx",
"last_modified": "2017-03-15T15:07:40.375310",
"position": 1,
"access_url": "",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "6220d948-eae2-4e4b-8723-2dc8e67722a3",
"webstore_last_updated": null,
"datastore_active": true,
"id": "3aeccf51-a231-4555-ba21-74572b4c33d6",
"size": null,
"state": "active",
"name_translated": {
"en": "RMS_Offense_Codes"
},
"hash": "",
"description": "",
"format": "XLSX",
"description_translated": {
"en": ""
},
"mimetype_inner": null,
"url_type": "upload",
"revision_id": "2bb481d0-36a0-4287-888b-23d2469a64d9",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-03-15T15:08:38.620449",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/6220d948-eae2-4e4b-8723-2dc8e67722a3/resource/3aeccf51-a231-4555-ba21-74572b4c33d6/download/rmsoffensecodes.xlsx",
"last_modified": "2017-03-15T15:08:38.579635",
"position": 2,
"access_url": "",
"resource_type": null
}],
"num_resources": 3,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "crime",
"id": "4d25c93e-4bb9-43a2-a266-41f41ad60ed5",
"name": "crime"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "incidents",
"id": "949a3ccc-dbfd-43fe-8024-6299c75fe9d1",
"name": "incidents"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "police",
"id": "f3e90290-2202-4044-892e-fc0b41b88f16",
"name": "police"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "safety",
"id": "d298268b-be68-4dba-8970-6267364492e8",
"name": "safety"
}],
"groups": [{
"display_name": "Public Safety",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2016-10-05-203537.070084security160.png",
"title": "Public Safety",
"id": "a1d23922-c00a-4d50-9e74-db227d0476cc",
"name": "public-safety"
}],
"contact_point_phone": "",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We manage the City\u2019s websites and technologies, like the BOS:311 app, that are focused on service delivery. We also ensure that the networks, computers, e-mail systems, and applications that support the business of City government are continuously available and operating both securely and effectively.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/innovation-and-technology\" target=\"_blank\">MORE INFO</a>",
"created": "2016-11-16T16:01:40.735325",
"title": "Department of Innovation and Technology",
"name": "department-of-innovation-and-technology-org",
"is_organization": true,
"state": "active",
"image_url": "2016-12-12-231949.338915iconsDoIT.svg",
"revision_id": "2ef9a7fd-4ed6-48c9-8a78-466e1f13f631",
"type": "organization",
"id": "80644104-7cff-4322-b2a3-33466d5e98bb",
"approval_status": "approved"
},
"name": "crime-incident-reports-august-2015-to-date-source-new-system",
"isopen": true,
"accrual_periodicity": "",
"notes": "Crime incident reports are provided by Boston Police Department (BPD) to document the initial details surrounding an incident to which BPD officers respond. This is a dataset containing records from the new crime incident report system, which includes a reduced set of fields focused on capturing the type of incident as well as when and where it occurred. Records in the new system begin in June of 2015. ",
"owner_org": "80644104-7cff-4322-b2a3-33466d5e98bb",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": [],
"title": "Crime Incident Reports (August 2015 - To Date) (Source: New System)",
"revision_id": "006ed952-8cd6-40aa-bf6d-5fd56f829b51"
}, {
"notes_translated": {
"en": "The Inspectional Services Department (ISD) issues building permits for construction projects within the City of Boston. Various projects require different types of applications, and work cannot begin until a building permit card is issued. Permits are valid for six months starting on the day that they are received, and may occasionally be extended for an additional 180 days. \n\nThis is a legacy dataset that contains details on each permit issued. For the official distribution managed by ISD, please look to the 'Approved Issued Building Permits' dataset. \n\n"
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "",
"relationships_as_object": [],
"contact_point_email": "opengov@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 4,
"license_id": "odc-pddl",
"open": "",
"id": "cd1ec3ff-6ebf-4a65-af68-8329eceab740",
"metadata_created": "2016-12-11T22:20:12.488113",
"title_translated": {
"en": "Approved building permits"
},
"metadata_modified": "2017-04-25T11:05:51.305823",
"author": null,
"author_email": null,
"icon_url": "http://boston.ogopendata.com:81/files/EXPERIENTIAL_ICON_How_to_file_for_a_property_tax_abatement.png",
"state": "active",
"source": [],
"theme": [],
"version": null,
"location": [],
"temporal_notes": {
"en": "See description for any available information."
},
"creator_user_id": "fe140128-8d10-4c2e-85f6-e38513f088ce",
"contact_point": "Department of Innovation and Technology",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "cd1ec3ff-6ebf-4a65-af68-8329eceab740",
"webstore_last_updated": null,
"datastore_active": false,
"id": "ff1b062c-8873-4a0b-9947-2ca397eaa980",
"size": null,
"state": "active",
"name_translated": {
"en": "Approved issued building permits"
},
"hash": "",
"description": "Official distribution managed by ISD",
"format": "HTML",
"description_translated": {
"en": "Official distribution managed by ISD"
},
"mimetype_inner": null,
"url_type": null,
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-03-09T14:40:19.730198",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/approved-issued-building-permits",
"last_modified": null,
"position": 0,
"revision_id": "4d17a11f-65cd-4c61-af57-b04b609f2a09",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "cd1ec3ff-6ebf-4a65-af68-8329eceab740",
"webstore_last_updated": null,
"datastore_active": true,
"id": "6ddcd912-32a0-43df-9908-63574f8c7e77",
"size": null,
"state": "active",
"name_translated": {
"en": "Approved building permits"
},
"hash": "",
"description": "Legacy dataset. Please see description.",
"format": "CSV",
"description_translated": {
"en": "Legacy dataset. Please see description."
},
"mimetype_inner": null,
"url_type": "upload",
"revision_id": "c3ff4805-5edc-4532-a341-9804cd522066",
"mimetype": null,
"cache_url": null,
"name": "Approved building permits",
"language": [],
"created": "2017-02-04T00:24:10.021036",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/cd1ec3ff-6ebf-4a65-af68-8329eceab740/resource/6ddcd912-32a0-43df-9908-63574f8c7e77/download/buildingpermits.csv",
"last_modified": "2017-04-25T11:05:26.738507",
"position": 1,
"access_url": "",
"resource_type": null
}],
"num_resources": 2,
"tags": [{
"vocabulary_id": null,
"state": "active",
"display_name": "building",
"id": "09a1addd-991c-4a63-a30a-17a7bbbef4d1",
"name": "building"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "construction",
"id": "8a495359-c975-4e3f-96a9-91faa40e2e0f",
"name": "construction"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "legacy portal",
"id": "c4071bc5-bd58-42b8-bd6a-38cd3115ec8e",
"name": "legacy portal"
}, {
"vocabulary_id": null,
"state": "active",
"display_name": "permits",
"id": "3ef156fd-c778-4701-b433-cf5b9fb2236a",
"name": "permits"
}],
"temporal_from": "2009-01-09",
"groups": [{
"display_name": "Permitting",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2016-10-05-202951.132631permit160.png",
"title": "Permitting",
"id": "4e3729a8-1794-4c85-8d9a-a5908131cd67",
"name": "permitting"
}],
"contact_point_phone": "",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We manage the City\u2019s websites and technologies, like the BOS:311 app, that are focused on service delivery. We also ensure that the networks, computers, e-mail systems, and applications that support the business of City government are continuously available and operating both securely and effectively.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/innovation-and-technology\" target=\"_blank\">MORE INFO</a>",
"created": "2016-11-16T16:01:40.735325",
"title": "Department of Innovation and Technology",
"name": "department-of-innovation-and-technology-org",
"is_organization": true,
"state": "active",
"image_url": "2016-12-12-231949.338915iconsDoIT.svg",
"revision_id": "2ef9a7fd-4ed6-48c9-8a78-466e1f13f631",
"type": "organization",
"id": "80644104-7cff-4322-b2a3-33466d5e98bb",
"approval_status": "approved"
},
"name": "approved-building-permits",
"isopen": true,
"accrual_periodicity": "",
"notes": "The Inspectional Services Department (ISD) issues building permits for construction projects within the City of Boston. Various projects require different types of applications, and work cannot begin until a building permit card is issued. Permits are valid for six months starting on the day that they are received, and may occasionally be extended for an additional 180 days. \n\nThis is a legacy dataset that contains details on each permit issued. For the official distribution managed by ISD, please look to the 'Approved Issued Building Permits' dataset. \n\n",
"owner_org": "80644104-7cff-4322-b2a3-33466d5e98bb",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": ["tabular"],
"title": "Approved building permits",
"revision_id": "ca172b7f-b941-4a93-a5f2-8c63c31b6919"
}, {
"notes_translated": {
"en": "Fire incidents, to be shared with state and federal governments for reporting. Supports resource allocation."
},
"license_title": "Open Data Commons Public Domain Dedication and License (PDDL)",
"maintainer": null,
"classification": "public",
"relationships_as_object": [],
"contact_point_email": "publicinfo.bfd@cityofboston.gov",
"private": false,
"maintainer_email": null,
"num_tags": 0,
"license_id": "odc-pddl",
"open": "",
"id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"metadata_created": "2017-01-10T19:29:44.470166",
"title_translated": {
"en": "Fire incident reporting"
},
"metadata_modified": "2017-04-24T20:43:46.069087",
"author": null,
"author_email": null,
"icon_url": "http://boston.ogopendata.com:81/imgs/EXPERIENTIAL_ICONS___911_Daily_Dispatch_Count.jpg",
"state": "active",
"source": ["Web based fire incident reporting system"],
"theme": ["public_safety"],
"version": null,
"location": [],
"temporal_notes": {
"en": "For current year: Monthly data files will be posted when all incidents for the previous month have been logged. For prior years: Data published by respective calendar year. "
},
"creator_user_id": "25c6af7d-acbf-4def-b8a8-4fce311e53c8",
"contact_point": "Public Information Officer, Boston Fire Department",
"type": "dataset",
"resources": [{
"cache_last_updated": null,
"package_id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"webstore_last_updated": null,
"datastore_active": true,
"id": "0f59c8e6-e028-4dba-a6aa-87bd3304c766",
"size": null,
"state": "active",
"name_translated": {
"en": "Fire incident reporting February 2017"
},
"hash": "",
"description": "",
"format": "CSV",
"description_translated": {
"en": ""
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-03-30T20:15:05.183461",
"data_dictionary": ["enabled"],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/ac9e373a-1303-4563-b28e-29070229fdfe/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766/download/february.2017-bostonfireincidents-2.csv",
"last_modified": "2017-04-20T19:50:49.684485",
"position": 0,
"revision_id": "5ee76008-d021-4b17-8404-032539c92d76",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"webstore_last_updated": null,
"datastore_active": true,
"id": "ce5cb864-bd01-4707-b381-9e204b4db73f",
"size": null,
"state": "active",
"name_translated": {
"en": "Fire incident reporting January 2017"
},
"hash": "",
"description": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__.",
"format": "CSV",
"description_translated": {
"en": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-04-20T19:15:15.649328",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/ac9e373a-1303-4563-b28e-29070229fdfe/resource/ce5cb864-bd01-4707-b381-9e204b4db73f/download/january.2017-bostonfireincidents-1.csv",
"last_modified": "2017-04-20T19:34:20.866327",
"position": 1,
"revision_id": "87422f90-7953-4935-a0c6-8284a5516c15",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"webstore_last_updated": null,
"datastore_active": true,
"id": "f9a21363-aff6-4840-a2d0-c738cb1c30a1",
"size": null,
"state": "active",
"name_translated": {
"en": "Fire incident reporting 2016"
},
"hash": "",
"description": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__.",
"format": "CSV",
"description_translated": {
"en": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-04-20T19:14:13.825740",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/ac9e373a-1303-4563-b28e-29070229fdfe/resource/f9a21363-aff6-4840-a2d0-c738cb1c30a1/download/2016-bostonfireincidentopendata-1.csv",
"last_modified": "2017-04-20T19:23:07.969012",
"position": 2,
"revision_id": "f388e545-8177-468d-a813-914bcbe91a91",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"webstore_last_updated": null,
"datastore_active": true,
"id": "0a3febff-2bbf-45d6-a446-8e3868fb41d4",
"size": null,
"state": "active",
"name_translated": {
"en": "Fire incident reporting 2015"
},
"hash": "",
"description": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__.",
"format": "CSV",
"description_translated": {
"en": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-04-20T19:12:53.236467",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/ac9e373a-1303-4563-b28e-29070229fdfe/resource/0a3febff-2bbf-45d6-a446-8e3868fb41d4/download/2015-bostonfireincidentopendata.csv",
"last_modified": "2017-04-20T19:24:32.335525",
"position": 3,
"revision_id": "627e729f-5a6e-4627-a2bf-4a3f882d3292",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"webstore_last_updated": null,
"datastore_active": true,
"id": "516a5882-65f3-47f1-8e1d-08ce04cfe851",
"size": null,
"state": "active",
"name_translated": {
"en": "Fire incident reporting 2014"
},
"hash": "",
"description": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__.",
"format": "CSV",
"description_translated": {
"en": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-04-20T19:11:43.584636",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/ac9e373a-1303-4563-b28e-29070229fdfe/resource/516a5882-65f3-47f1-8e1d-08ce04cfe851/download/2014-bostonfireincidentopendata.csv",
"last_modified": "2017-04-20T19:25:38.552450",
"position": 4,
"revision_id": "b40873c8-68c6-4cd1-8c27-072e72730a4f",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"webstore_last_updated": null,
"datastore_active": true,
"id": "76771c63-2d95-4095-bf3d-5f22844350d8",
"size": null,
"state": "active",
"name_translated": {
"en": "Fire incident reporting 2013"
},
"hash": "",
"description": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__.",
"format": "CSV",
"description_translated": {
"en": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-04-20T19:11:18.130019",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/ac9e373a-1303-4563-b28e-29070229fdfe/resource/76771c63-2d95-4095-bf3d-5f22844350d8/download/2013-bostonfireincidentopendata.csv",
"last_modified": "2017-04-20T19:26:18.071136",
"position": 5,
"revision_id": "290ca01e-8c64-4779-ac2f-7e7ecf181d3b",
"resource_type": null
}, {
"cache_last_updated": null,
"package_id": "ac9e373a-1303-4563-b28e-29070229fdfe",
"webstore_last_updated": null,
"datastore_active": true,
"id": "64d6aa98-a3aa-4080-a316-b6d493082091",
"size": null,
"state": "active",
"name_translated": {
"en": "Fire incident reporting 2012"
},
"hash": "",
"description": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__.",
"format": "CSV",
"description_translated": {
"en": "Please refer above to data dictionary for Fire incident reporting __[February 2017](https://data.boston.gov/dataset/fire-incident-reporting/resource/0f59c8e6-e028-4dba-a6aa-87bd3304c766)__."
},
"mimetype_inner": null,
"url_type": "upload",
"mimetype": null,
"cache_url": null,
"name": null,
"language": ["en"],
"created": "2017-04-20T19:10:27.127513",
"data_dictionary": [],
"webstore_url": null,
"url": "https://data.boston.gov/dataset/ac9e373a-1303-4563-b28e-29070229fdfe/resource/64d6aa98-a3aa-4080-a316-b6d493082091/download/2012-bostonfireincidentopendata.csv",
"last_modified": "2017-04-20T19:28:31.107637",
"position": 6,
"revision_id": "a3176319-a2fa-4b14-9b45-4671ef3303fc",
"resource_type": null
}],
"num_resources": 7,
"tags": [],
"groups": [{
"display_name": "Public Safety",
"description": "",
"image_display_url": "https://data.boston.gov/uploads/group/2016-10-05-203537.070084security160.png",
"title": "Public Safety",
"id": "a1d23922-c00a-4d50-9e74-db227d0476cc",
"name": "public-safety"
}],
"contact_point_phone": "(617) 343-3415",
"relationships_as_subject": [],
"publisher": "Department of Innovation and Technology",
"organization": {
"description": "We respond to emergencies including fires, vehicle accidents, hazardous materials incidents, technical rescues, medical assistance and large scale events held in the city.\r\n\r\n<br/>\r\n<a href=\"https://www.boston.gov/departments/fire-operations\" target=\"_blank\">MORE INFO</a>",
"created": "2017-01-17T12:02:27.021653",
"title": "Boston Fire Department",
"name": "boston-fire-department-org",
"is_organization": true,
"state": "active",
"image_url": "https://www.boston.gov/sites/default/files/department_icons/icons_fire_0.png",
"revision_id": "b3ec80cd-4e06-4c52-98cf-4f0fb0ca8d35",
"type": "organization",
"id": "d19479bc-0d5c-4bec-83f4-02759125334a",
"approval_status": "approved"
},
"name": "fire-incident-reporting",
"isopen": true,
"accrual_periodicity": "R/P1M",
"notes": "Fire incidents, to be shared with state and federal governments for reporting. Supports resource allocation.",
"owner_org": "d19479bc-0d5c-4bec-83f4-02759125334a",
"url": "",
"license_url": "http://www.opendefinition.org/licenses/odc-pddl",
"btype": ["tabular"],
"title": "Fire incident reporting",
"revision_id": "6951599c-e0d5-464c-8d5e-56ff6317db24"
}]
}
html {
font-size: 7pt;
color: #182C3B;
font-weight: 400;
}
h1,h2,h3,h4,h5,h6 {
font-weight: 600;
}
#about {
color: #fff;
background-color: #555;
padding: 16px;
border-radius: 8px;
}
.hilite {
color: red;
font-weight: 700;
font-style: italic;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Boston Open Geo Data Sets</title>
<meta name="description" content="">
<meta name="author" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Raleway:300,400,500,600" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons"
rel="stylesheet">
<link rel="icon" type="image/png" href="images/favicon.png">
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="skeleton.css">
<link rel="stylesheet" href="custom.css">
</head>
<body onload="initdata()">
<div class="container">
<h1>Auto-Discovering Open <span class="hilite">Geo</span> Data Sets</h1>
<div class="row">
<div class="eight columns">
<h4>Data sets likely to have geolocation information</h4>
<ul id="geodatasets"></ul>
<h4>Data sets likely to have neighborhood-level classification</h4>
<ul id="neighborhooddatasets"></ul>
<h4>Data sets likely to have addresses</h4>
<ul id="addressdatasets"></ul>
<h4>Data sets likely to have another type of geographic location</h4>
<ul id="geozonedatasets"></ul>
</div><!--end column of data sets-->
<div class="four columns" id="about">
<h3>About</h3>
<p>This page lists datasets from <a href="https://data.boston.gov/">Boston's Open Data Hub</a> that are likely to have geographic coordinates or semi-spatial information, such as addresses, neighborhoods, zip codes, etc.</p>
<p>This is accomplished by programmatically exploiting the <a href="http://ckan.org/">CKAN</a> <a href="http://docs.ckan.org/en/latest/api/index.html"> developer API</a> for retrieving metadata about the Hub's resources, and running heuristics on the data set's field names. The technique is not specific to the Boston data portal. It should work just as well on any CKAN-powered site.</p>
<p>All code is open source under the <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache version 2 license</a> and copyright IBM Corp. 2017. Developed for the <a href="https://data.boston.gov/pages/opendatachallenge">Analyze Boston Open Data Challenge</a>.</p>
</div><!--end column of description-->
</div><!--end row-->
</div><!--end container-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="initopendata.js"></script>
</body>
</html>
/* --------------------------------------------------------------------
Copyright IBM Corp. 2017
Licensed under the Apache License, Version 2.0 (the 'License');
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an 'AS IS' BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
------------------------------------------------------------------------*/
const RESOURCES_URL = "./current_package_list_with_resources.json";
// const RESOURCES_URL = "https://data.boston.gov/api/3/action/current_package_list_with_resources?limit=800";
const RESOURCE_VIEW_LIST_BASE = "https://data.boston.gov/api/3/action/resource_view_list?";
const IGNORE_FORMATS = ['PDF', 'ZIP', 'HTML'];
var resourcelist = [];
var neighborhoodlist = [];
var geolist = [];
var addresslist = [];
var geozonelist = [];
function formatResource(resource) {
h = '<li><a href="'+resource['url']+'" target="_blank">';
h += resource['name']+'</a> ('+resource['format']+')</li>';
return h;
}
function updateGeo(resource) {
if (resource.hasOwnProperty('fields')) {
addme = false;
flds = [];
$.each(resource.fields, function (idx,fld) { flds.push(fld.toLowerCase()) });
if ( flds.includes('lat') && flds.includes('lon') ) addme = true;
$.each(flds, function(idx, fld) {
if ( fld.indexOf('location') >= 0 ) addme = true;
else if ( fld == 'geo' || fld == 'geom' || fld == 'the_geom' ) addme = true;
else if ( fld == 'geog' || fld == 'geography' ) addme = true;
else if ( fld == 'latlon' || fld == 'lonlat' ) addme = true;
else if ( fld == 'latlong' || fld == 'longlat' ) addme = true;
});
if ( addme ) {
geolist.push(resource);
$('#geodatasets').append(formatResource(resource));
}
}
}
function updateNeighborhoods(resource) {
if (resource.hasOwnProperty('fields')) {
addme = false;
flds = [];
$.each(resource.fields, function (idx,fld) { flds.push(fld.toLowerCase()) });
$.each(flds, function(idx, fld) {
if ( fld == 'neighborhood' ) addme = true;
else if ( fld.includes('hood') ) addme = true;
else if ( fld.includes('nbrd') ) addme = true;
});
if ( addme ) {
neighborhoodlist.push(resource);
$('#neighborhooddatasets').append(formatResource(resource));
}
}
}
function updateAddresses(resource) {
if (resource.hasOwnProperty('fields')) {
addme = false;
flds = [];
$.each(resource.fields, function (idx,fld) { flds.push(fld.toLowerCase()) });
$.each(flds, function(idx, fld) {
if ( fld.includes('address') ) addme = true;
else if ( fld.includes('street') ) addme = true;
else if ( fld == 'ward' || fld == 'district' || fld == 'beat') addme = true;
else if ( fld == 'zip' || fld == 'zipcode' || fld == 'zip code') addme = true;
});
if ( addme ) {
addresslist.push(resource);
$('#addressdatasets').append(formatResource(resource));
}
}
}
function updateGeoZones(resource) {
if (resource.hasOwnProperty('fields')) {
addme = false;
flds = [];
$.each(resource.fields, function (idx,fld) { flds.push(fld.toLowerCase()) });
$.each(flds, function(idx, fld) {
if ( fld == 'ward' || fld == 'district' || fld == 'beat') addme = true;
else if ( fld == 'zip' || fld == 'zipcode' || fld == 'zip code') addme = true;
else if ( fld == 'block' || fld == 'tract' || fld == 'blockgroup') addme = true;
});
if ( addme ) {
geozonelist.push(resource);
$('#geozonedatasets').append(formatResource(resource));
}
}
}
function initdata() {
$.getJSON(RESOURCES_URL, function(data) {
$.each(data.result, function(idx, package) {
$.each(package.resources, function(ridx, resource) {
if (resource['name'] && resource['format'] && !IGNORE_FORMATS.includes(resource['format']) ) {
rsrc = {
'id': resource['id'],
'name': resource['name'],
'format': resource['format'],
'url': resource['url']
};
resourcelist.push(rsrc);
console.log("pushed "+resource['id']+"...");
}
});
});
$.each(resourcelist, function(idx, resource) {
$.getJSON(RESOURCE_VIEW_LIST_BASE+"id="+resource['id'], function(data) {
$.each(data.result, function(vidx, view) {
if (view && view.hasOwnProperty('show_fields'))
resource['fields'] = view['show_fields'];
updateGeo(resource);
updateNeighborhoods(resource);
updateAddresses(resource);
updateGeoZones(resource);
});
});
});
});
}
------------------------------------------------------------------------
Copyright IBM Corp. 2017
Licensed under the Apache License, Version 2.0 (the 'License');
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an 'AS IS' BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
------------------------------------------------------------------------
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
* user zoom.
*/
html {
font-family: sans-serif; /* 1 */
-ms-text-size-adjust: 100%; /* 2 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/**
* Remove default margin.
*/
body {
margin: 0;
}
/* HTML5 display definitions
========================================================================== */
/**
* Correct `block` display not defined for any HTML5 element in IE 8/9.
* Correct `block` display not defined for `details` or `summary` in IE 10/11
* and Firefox.
* Correct `block` display not defined for `main` in IE 11.
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
display: block;
}
/**
* 1. Correct `inline-block` display not defined in IE 8/9.
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
*/
audio,
canvas,
progress,
video {
display: inline-block; /* 1 */
vertical-align: baseline; /* 2 */
}
/**
* Prevent modern browsers from displaying `audio` without controls.
* Remove excess height in iOS 5 devices.
*/
audio:not([controls]) {
display: none;
height: 0;
}
/**
* Address `[hidden]` styling not present in IE 8/9/10.
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
*/
[hidden],
template {
display: none;
}
/* Links
========================================================================== */
/**
* Remove the gray background color from active links in IE 10.
*/
a {
background-color: transparent;
}
/**
* Improve readability when focused and also mouse hovered in all browsers.
*/
a:active,
a:hover {
outline: 0;
}
/* Text-level semantics
========================================================================== */
/**
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
*/
abbr[title] {
border-bottom: 1px dotted;
}
/**
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
*/
b,
strong {
font-weight: bold;
}
/**
* Address styling not present in Safari and Chrome.
*/
dfn {
font-style: italic;
}
/**
* Address variable `h1` font-size and margin within `section` and `article`
* contexts in Firefox 4+, Safari, and Chrome.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/**
* Address styling not present in IE 8/9.
*/
mark {
background: #ff0;
color: #000;
}
/**
* Address inconsistent and variable font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sup {
top: -0.5em;
}
sub {
bottom: -0.25em;
}
/* Embedded content
========================================================================== */
/**
* Remove border when inside `a` element in IE 8/9/10.
*/
img {
border: 0;
}
/**
* Correct overflow not hidden in IE 9/10/11.
*/
svg:not(:root) {
overflow: hidden;
}
/* Grouping content
========================================================================== */
/**
* Address margin not present in IE 8/9 and Safari.
*/
figure {
margin: 1em 40px;
}
/**
* Address differences between Firefox and other browsers.
*/
hr {
-moz-box-sizing: content-box;
box-sizing: content-box;
height: 0;
}
/**
* Contain overflow in all browsers.
*/
pre {
overflow: auto;
}
/**
* Address odd `em`-unit font size rendering in all browsers.
*/
code,
kbd,
pre,
samp {
font-family: monospace, monospace;
font-size: 1em;
}
/* Forms
========================================================================== */
/**
* Known limitation: by default, Chrome and Safari on OS X allow very limited
* styling of `select`, unless a `border` property is set.
*/
/**
* 1. Correct color not being inherited.
* Known issue: affects color of disabled elements.
* 2. Correct font properties not being inherited.
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
*/
button,
input,
optgroup,
select,
textarea {
color: inherit; /* 1 */
font: inherit; /* 2 */
margin: 0; /* 3 */
}
/**
* Address `overflow` set to `hidden` in IE 8/9/10/11.
*/
button {
overflow: visible;
}
/**
* Address inconsistent `text-transform` inheritance for `button` and `select`.
* All other form control elements do not inherit `text-transform` values.
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
* Correct `select` style inheritance in Firefox.
*/
button,
select {
text-transform: none;
}
/**
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
* and `video` controls.
* 2. Correct inability to style clickable `input` types in iOS.
* 3. Improve usability and consistency of cursor style between image-type
* `input` and others.
*/
button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
-webkit-appearance: button; /* 2 */
cursor: pointer; /* 3 */
}
/**
* Re-set default cursor for disabled elements.
*/
button[disabled],
html input[disabled] {
cursor: default;
}
/**
* Remove inner padding and border in Firefox 4+.
*/
button::-moz-focus-inner,
input::-moz-focus-inner {
border: 0;
padding: 0;
}
/**
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
* the UA stylesheet.
*/
input {
line-height: normal;
}
/**
* It's recommended that you don't attempt to style these elements.
* Firefox's implementation doesn't respect box-sizing, padding, or width.
*
* 1. Address box sizing set to `content-box` in IE 8/9/10.
* 2. Remove excess padding in IE 8/9/10.
*/
input[type="checkbox"],
input[type="radio"] {
box-sizing: border-box; /* 1 */
padding: 0; /* 2 */
}
/**
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
* `font-size` values of the `input`, it causes the cursor style of the
* decrement button to change from `default` to `text`.
*/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
* (include `-moz` to future-proof).
*/
input[type="search"] {
-webkit-appearance: textfield; /* 1 */
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box; /* 2 */
box-sizing: content-box;
}
/**
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
* Safari (but not Chrome) clips the cancel button when the search input has
* padding (and `textfield` appearance).
*/
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* Define consistent border, margin, and padding.
*/
fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
}
/**
* 1. Correct `color` not being inherited in IE 8/9/10/11.
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
*/
legend {
border: 0; /* 1 */
padding: 0; /* 2 */
}
/**
* Remove default vertical scrollbar in IE 8/9/10/11.
*/
textarea {
overflow: auto;
}
/**
* Don't inherit the `font-weight` (applied by a rule above).
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
*/
optgroup {
font-weight: bold;
}
/* Tables
========================================================================== */
/**
* Remove most spacing between table cells.
*/
table {
border-collapse: collapse;
border-spacing: 0;
}
td,
th {
padding: 0;
}
/*
* Skeleton V2.0.4
* Copyright 2014, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 12/29/2014
*/
/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––
- Grid
- Base Styles
- Typography
- Links
- Buttons
- Forms
- Lists
- Code
- Tables
- Spacing
- Utilities
- Clearing
- Media Queries
*/
/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
position: relative;
width: 100%;
max-width: 960px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box; }
.column,
.columns {
width: 100%;
float: left;
box-sizing: border-box; }
/* For devices larger than 400px */
@media (min-width: 400px) {
.container {
width: 85%;
padding: 0; }
}
/* For devices larger than 550px */
@media (min-width: 550px) {
.container {
width: 80%; }
.column,
.columns {
margin-left: 4%; }
.column:first-child,
.columns:first-child {
margin-left: 0; }
.one.column,
.one.columns { width: 4.66666666667%; }
.two.columns { width: 13.3333333333%; }
.three.columns { width: 22%; }
.four.columns { width: 30.6666666667%; }
.five.columns { width: 39.3333333333%; }
.six.columns { width: 48%; }
.seven.columns { width: 56.6666666667%; }
.eight.columns { width: 65.3333333333%; }
.nine.columns { width: 74.0%; }
.ten.columns { width: 82.6666666667%; }
.eleven.columns { width: 91.3333333333%; }
.twelve.columns { width: 100%; margin-left: 0; }
.one-third.column { width: 30.6666666667%; }
.two-thirds.column { width: 65.3333333333%; }
.one-half.column { width: 48%; }
/* Offsets */
.offset-by-one.column,
.offset-by-one.columns { margin-left: 8.66666666667%; }
.offset-by-two.column,
.offset-by-two.columns { margin-left: 17.3333333333%; }
.offset-by-three.column,
.offset-by-three.columns { margin-left: 26%; }
.offset-by-four.column,
.offset-by-four.columns { margin-left: 34.6666666667%; }
.offset-by-five.column,
.offset-by-five.columns { margin-left: 43.3333333333%; }
.offset-by-six.column,
.offset-by-six.columns { margin-left: 52%; }
.offset-by-seven.column,
.offset-by-seven.columns { margin-left: 60.6666666667%; }
.offset-by-eight.column,
.offset-by-eight.columns { margin-left: 69.3333333333%; }
.offset-by-nine.column,
.offset-by-nine.columns { margin-left: 78.0%; }
.offset-by-ten.column,
.offset-by-ten.columns { margin-left: 86.6666666667%; }
.offset-by-eleven.column,
.offset-by-eleven.columns { margin-left: 95.3333333333%; }
.offset-by-one-third.column,
.offset-by-one-third.columns { margin-left: 34.6666666667%; }
.offset-by-two-thirds.column,
.offset-by-two-thirds.columns { margin-left: 69.3333333333%; }
.offset-by-one-half.column,
.offset-by-one-half.columns { margin-left: 52%; }
}
/* Base Styles
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
html is set to 62.5% so that all the REM measurements throughout Skeleton
are based on 10px sizing. So basically 1.5rem = 15px :) */
html {
font-size: 62.5%; }
body {
font-size: 1.5em; /* currently ems cause chrome bug misinterpreting rems on body element */
line-height: 1.6;
font-weight: 400;
/*font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;*/
font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #222; }
/* Typography
–––––––––––––––––––––––––––––––––––––––––––––––––– */
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: 2rem;
font-weight: 300; }
h1 { font-size: 4.0rem; line-height: 1.2; letter-spacing: -.1rem;}
h2 { font-size: 3.6rem; line-height: 1.25; letter-spacing: -.1rem; }
h3 { font-size: 3.0rem; line-height: 1.3; letter-spacing: -.1rem; }
h4 { font-size: 2.4rem; line-height: 1.35; letter-spacing: -.08rem; }
h5 { font-size: 1.8rem; line-height: 1.5; letter-spacing: -.05rem; }
h6 { font-size: 1.5rem; line-height: 1.6; letter-spacing: 0; }
/* Larger than phablet */
@media (min-width: 550px) {
h1 { font-size: 5.0rem; }
h2 { font-size: 4.2rem; }
h3 { font-size: 3.6rem; }
h4 { font-size: 3.0rem; }
h5 { font-size: 2.4rem; }
h6 { font-size: 1.5rem; }
}
p {
margin-top: 0; }
/* Links
–––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
color: #1EAEDB; }
a:hover {
color: #0FA0CE; }
/* Buttons
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
display: inline-block;
height: 38px;
padding: 0 30px;
color: #555;
text-align: center;
font-size: 11px;
font-weight: 600;
line-height: 38px;
letter-spacing: .1rem;
text-transform: uppercase;
text-decoration: none;
white-space: nowrap;
background-color: transparent;
border-radius: 4px;
border: 1px solid #bbb;
cursor: pointer;
box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
color: #333;
border-color: #888;
outline: 0; }
.button.button-primary,
button.button-primary,
input[type="submit"].button-primary,
input[type="reset"].button-primary,
input[type="button"].button-primary {
color: #FFF;
background-color: #3A7FB7;
border-color: #3A7FB7; }
.button.button-primary:hover,
button.button-primary:hover,
input[type="submit"].button-primary:hover,
input[type="reset"].button-primary:hover,
input[type="button"].button-primary:hover,
.button.button-primary:focus,
button.button-primary:focus,
input[type="submit"].button-primary:focus,
input[type="reset"].button-primary:focus,
input[type="button"].button-primary:focus {
color: #FFF;
background-color: #1EAEDB;
border-color: #1EAEDB; }
/* Forms
–––––––––––––––––––––––––––––––––––––––––––––––––– */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
height: 38px;
padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
background-color: #fff;
border: 1px solid #D1D1D1;
border-radius: 4px;
box-shadow: none;
box-sizing: border-box; }
/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none; }
textarea {
min-height: 65px;
padding-top: 6px;
padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
border: 1px solid #3A7FB7;
outline: 0; }
label,
legend {
display: block;
margin-bottom: .5rem;
font-weight: 600; }
fieldset {
padding: 0;
border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
display: inline; }
label > .label-body {
display: inline-block;
margin-left: .5rem;
font-weight: normal; }
/* Lists
–––––––––––––––––––––––––––––––––––––––––––––––––– */
ul {
list-style: circle inside; }
ol {
list-style: decimal inside; }
ol, ul {
padding-left: 0;
margin-top: 0; }
ul ul,
ul ol,
ol ol,
ol ul {
margin: 1.5rem 0 1.5rem 3rem;
font-size: 90%; }
li {
margin-bottom: 1rem; }
/* Code
–––––––––––––––––––––––––––––––––––––––––––––––––– */
code {
padding: .2rem .5rem;
margin: 0 .2rem;
font-size: 90%;
white-space: nowrap;
background: #F1F1F1;
border: 1px solid #E1E1E1;
border-radius: 4px; }
pre > code {
display: block;
padding: 1rem 1.5rem;
white-space: pre; }
/* Tables
–––––––––––––––––––––––––––––––––––––––––––––––––– */
th,
td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #E1E1E1; }
th:first-child,
td:first-child {
padding-left: 0; }
th:last-child,
td:last-child {
padding-right: 0; }
/* Spacing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
margin-bottom: 1rem; }
input,
textarea,
select,
fieldset {
margin-bottom: 1.5rem; }
pre,
blockquote,
dl,
figure,
table,
p,
ul,
ol,
form {
margin-bottom: 2.5rem; }
/* Utilities
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
width: 100%;
box-sizing: border-box; }
.u-max-full-width {
max-width: 100%;
box-sizing: border-box; }
.u-pull-right {
float: right; }
.u-pull-left {
float: left; }
/* Misc
–––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
margin-top: 3rem;
margin-bottom: 3.5rem;
border-width: 0;
border-top: 1px solid #E1E1E1; }
/* Clearing
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Self Clearing Goodness */
.container:after,
.row:after,
.u-cf {
content: "";
display: table;
clear: both; }
/* Media Queries
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/*
Note: The best way to structure the use of media queries is to create the queries
near the relevant code. For example, if you wanted to change the styles for buttons
on small devices, paste the mobile query code up in the buttons section and style it
there.
*/
/* Larger than mobile */
@media (min-width: 400px) {}
/* Larger than phablet (also point when grid becomes active) */
@media (min-width: 550px) {}
/* Larger than tablet */
@media (min-width: 750px) {}
/* Larger than desktop */
@media (min-width: 1000px) {}
/* Larger than Desktop HD */
@media (min-width: 1200px) {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment