{"id":32169368,"url":"https://github.com/socrata/exsoda","last_synced_at":"2026-02-20T16:01:27.679Z","repository":{"id":34215539,"uuid":"38073566","full_name":"socrata/exsoda","owner":"socrata","description":"tiny soda2 elixir wrapper","archived":false,"fork":false,"pushed_at":"2025-04-28T18:08:31.000Z","size":266,"stargazers_count":16,"open_issues_count":1,"forks_count":2,"subscribers_count":9,"default_branch":"main","last_synced_at":"2026-01-14T07:33:54.961Z","etag":null,"topics":["elixir","open-data","socrata"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/socrata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-06-25T20:52:38.000Z","updated_at":"2025-04-28T18:08:36.000Z","dependencies_parsed_at":"2024-07-30T21:18:52.409Z","dependency_job_id":null,"html_url":"https://github.com/socrata/exsoda","commit_stats":null,"previous_names":["rozap/exsoda"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/socrata/exsoda","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socrata%2Fexsoda","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socrata%2Fexsoda/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socrata%2Fexsoda/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socrata%2Fexsoda/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/socrata","download_url":"https://codeload.github.com/socrata/exsoda/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/socrata%2Fexsoda/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29656589,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["elixir","open-data","socrata"],"created_at":"2025-10-21T16:01:42.052Z","updated_at":"2026-02-20T16:01:27.668Z","avatar_url":"https://github.com/socrata.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# exsoda \n## What\nThis is a tiny wrapper for the socrata Soda2 open data API. It returns datasets as elixir streams for lazy evaluation.\n\n\n## usage\n```elixir\n\n\n## Play around in the console\n\niex(1)\u003e import Exsoda.Reader\niex(8)\u003e with {:ok, stream} \u003c- query(\"4tka-6guv\", domain: \"soda.demo.socrata.com\") |\u003e select([:region, :magnitude]) |\u003e where(\"magnitude \u003e 4.0\") |\u003e run do\n...(8)\u003e     Enum.take(stream, 2)\n...(8)\u003e end\n[[{\"Region\", \"south of the Fiji Islands\"}, {\"Magnitude\", 4.6}],\n [{\"Region\", \"Northern California\"}, {\"Magnitude\", 4.4}]]\n\n\n## Or elsewhere\n\nresult = query(\"4tka-6guv\", )\n|\u003e select([:region, :magnitude])\n|\u003e where(\"magnitude \u003e 4.0\")\n|\u003e order(\"region\")\n|\u003e offset(5)\n|\u003e run\n\nwith {:ok, row_stream} \u003c- result do\n  Enum.take(row_stream, 10)\n  |\u003e Enum.map(fn row -\u003e\n    IO.inspect row\n  end)\nend\n\n# This will print something like the following to the console:\n[{\"Region\", \"0km SE of Sakai, Japan\"}, {\"Magnitude\", 4.6}]\n[{\"Region\", \"0km SE of Sakai, Japan\"}, {\"Magnitude\", 4.6}]\n[{\"Region\", \"0km SE of Sakai, Japan\"}, {\"Magnitude\", 4.6}]\n[{\"Region\", \"0km SE of Sakai, Japan\"}, {\"Magnitude\", 4.6}]\n[{\"Region\", \"0km SE of Sakai, Japan\"}, {\"Magnitude\", 4.6}]\n[{\"Region\", \"100km E of Ile Hunter, New Caledonia\"}, {\"Magnitude\", 5.6}]\n[{\"Region\", \"100km E of Ile Hunter, New Caledonia\"}, {\"Magnitude\", 5.6}]\n[{\"Region\", \"100km E of Ile Hunter, New Caledonia\"}, {\"Magnitude\", 5.6}]\n[{\"Region\", \"100km E of Ile Hunter, New Caledonia\"}, {\"Magnitude\", 5.6}]\n[{\"Region\", \"100km E of Ile Hunter, New Caledonia\"}, {\"Magnitude\", 5.6}]\n\n\n```\n\n## Get a view\n```elixir\niex(1)\u003e import Exsoda.Reader\n\niex(2)\u003e query(\"hcnj-rei3\", domain: \"data.austintexas.gov\") |\u003e get_view\n\n{:ok,\n %{\"oid\" =\u003e 12724312, \"displayType\" =\u003e \"table\",\n   \"publicationAppendEnabled\" =\u003e false, ...}}\n```\n\n## Running Tests Locally\nThe tests run using the domain cheetah.test-socrata.com . \nexport SOCRATA_USER=test-admin@socrata.com  \nexport SOCRATA_PASSWORD=\u003cLastPass - Cheetah test user accounts password\u003e\n./test.sh","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocrata%2Fexsoda","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsocrata%2Fexsoda","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsocrata%2Fexsoda/lists"}