{"id":16884553,"url":"https://github.com/timwis/koop-soda","last_synced_at":"2026-05-18T06:41:15.553Z","repository":{"id":35984439,"uuid":"40275971","full_name":"timwis/koop-soda","owner":"timwis","description":"This plugin makes it possible to interact with Koop's many providers using a SODA2 API","archived":false,"fork":false,"pushed_at":"2015-08-06T00:42:12.000Z","size":96,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T05:31:07.506Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timwis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-06T00:42:04.000Z","updated_at":"2019-05-31T00:25:49.000Z","dependencies_parsed_at":"2022-09-16T15:50:59.467Z","dependency_job_id":null,"html_url":"https://github.com/timwis/koop-soda","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timwis/koop-soda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fkoop-soda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fkoop-soda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fkoop-soda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fkoop-soda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timwis","download_url":"https://codeload.github.com/timwis/koop-soda/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwis%2Fkoop-soda/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267093845,"owners_count":24034952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T16:29:12.861Z","updated_at":"2026-05-18T06:41:10.527Z","avatar_url":"https://github.com/timwis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SODA2 Interface for [Koop](https://github.com/koopjs/koop)\nThis plugin makes it possible to interact with Koop's [many providers](https://github.com/koopjs/koopjs.github.io/blob/master/docs/providers.md)\nusing a [SODA2 API](http://dev.socrata.com/docs/queries.html).\n\n**Note:** This plugin only works when used with these versions of [koop](https://github.com/timwis/koop) and [koop-ckan](https://github.com/timwis/koop-ckan). They've been submitted as pull requests, so this plugin is more of a proof of concept until they're merged.\n\n# Installation\n```bash\nnpm install koop-soda\n```\n\n# Registering the plugin\nTo use this plugin in your koop instance, register it the same way you'd register providers as demonstrated in\n[koop's documentation](https://github.com/koopjs/koop#registering-providers)\n\n```javascript\nkoop.register(soda);\n```\n\n# Usage\nAppend `/soda` to your normal query to interact with the resource with an OData API, for instance:\n\n`http://localhost:1337/ckan/phl/heart-healthy-screening-sites/soda?$where=ZIP_CODE%20=%2019146`\n\nwill produce an SODA2 JSON object like:\n\n```javascript\n[\n    {\n        _id: 4,\n        ﻿X: -75.17548258333102,\n        Y: 39.94122652163324,\n        OBJECTID: 4,\n        DATE_: \"2015-04-06T00:00:00\",\n        TIME: \"10:30 AM - 12 PM\",\n        ADDRESS: \"1941 Christian Street  \",\n        LOCATION: null,\n        CITY: \"Philadelphia\",\n        STATE: \"PA\",\n        ZIP_CODE: 19146,\n        SCREENING_TYPE: \"Blood Pressure Only\",\n        CONTACT_INFORMATION: \"Contact Jefferson University Hospital - Blood Pressure Plus\",\n        PHONE_NUMBER: \"215-955-3817\",\n        GlobalID: \"58db6903-fda9-4d71-a255-7ab111c5ca0a\",\n        geometry: {\n            type: \"Point\",\n            coordinates: [\n                -75.17548258333102,\n                39.94122652163324\n            ]\n        }\n    }\n]\n```\n\n# Supported\n* `$where=` with all operators, and, or\n\n# Unsupported\n* `$select=` (requires more significant changes to koop codebase)\n* `$top=` (requires more significant changes to koop codebase)\n* `$skip=` (requires more significant changes to koop codebase)\n* Functions still need to be translated to Esri versions\n* Other unsupported items listed on [node-soda2-parser](https://github.com/timwis/node-soda2-parser#unsupported)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwis%2Fkoop-soda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimwis%2Fkoop-soda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwis%2Fkoop-soda/lists"}