{"id":20728801,"url":"https://github.com/codeclown/ekdb-dumps","last_synced_at":"2025-10-29T01:17:58.685Z","repository":{"id":190633478,"uuid":"683015945","full_name":"codeclown/ekdb-dumps","owner":"codeclown","description":"All tables from avoindata.eduskunta.fi as a daily updated sqlite database.","archived":false,"fork":false,"pushed_at":"2023-08-25T13:28:25.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-03T11:12:54.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ekdb.fi","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeclown.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}},"created_at":"2023-08-25T11:54:31.000Z","updated_at":"2023-08-25T13:34:29.000Z","dependencies_parsed_at":"2023-08-25T17:52:55.536Z","dependency_job_id":null,"html_url":"https://github.com/codeclown/ekdb-dumps","commit_stats":null,"previous_names":["codeclown/ekdb-dumps"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codeclown/ekdb-dumps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclown%2Fekdb-dumps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclown%2Fekdb-dumps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclown%2Fekdb-dumps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclown%2Fekdb-dumps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeclown","download_url":"https://codeload.github.com/codeclown/ekdb-dumps/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeclown%2Fekdb-dumps/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266135682,"owners_count":23881802,"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","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-11-17T04:40:02.677Z","updated_at":"2025-10-29T01:17:53.634Z","avatar_url":"https://github.com/codeclown.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ekdb-dumps\n\nAll tables from avoindata.eduskunta.fi as a daily updated sqlite database.\n\n## Downloads\n\n### Latest dump\n\nThe latest dump is available at a static path:\n\nhttps://ekdb-dumps.s3.eu-north-1.amazonaws.com/v1/latest.eduskunta_data.sqlite\n\nIts related metadata-file:\n\nhttps://ekdb-dumps.s3.eu-north-1.amazonaws.com/v1/latest.eduskunta_data.metadata.json\n\n### Datestamped dumps\n\nDatestamped dumps are available in this format (they expire after 30 days):\n\nhttps://ekdb-dumps.s3.eu-north-1.amazonaws.com/v1/eduskunta_data.YYYY-MM-DD.sqlite\n\nRelated metadata files similarly:\n\nhttps://ekdb-dumps.s3.eu-north-1.amazonaws.com/v1/eduskunta_data.YYYY-MM-DD.metadata.json\n\n### Listing of all files\n\nYou can find the list of all available files here:\n\nhttps://ekdb-dumps.s3.eu-north-1.amazonaws.com/\n\n## What is this?\n\nOfficial public data by the Finnish Parliament is made available at https://avoindata.eduskunta.fi.\n\nIn order to use it you need to download each tables content individually 100 rows at a time.\n\nTo make it easier to explore and utilise this data, this repository makes it possible to just download the entire dataset as a single sqlite database. You can find the download links above under [Downloads](#downloads).\n\nThe database is updated daily (via the [daily_update.yml](.github/workflows/daily_update.yml) GitHub workflow).\n\nOr if you want, you can copy the self-contained [bin_download_data.py](bin_download_data.py) script and use it yourself to download the data.\n\n## About the tables\n\nThe script replicates the tables as they are. Some notes about the result:\n\n- All columns are strings, except the primary key which is an integer\n- Some columns contain massive XML blobs (e.g. XmlData-column in VaskiData-table)\n- The script adds an additional metadata-table, which contains information like the data source and license\n\n## Inspecting the data\n\nUse a tool like [DB Browser for SQLite](https://sqlitebrowser.org/) to inspect the data.\n\n## Running the script locally\n\nSee the header comment in the script ([bin_download_data.py](bin_download_data.py))\n\n## License\n\nData in the sqlite databases is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.en), just like the original ([source](https://avoindata.eduskunta.fi/#/fi/about)).\n\nContents of this repository are licensed under the ISC license. See [LICENSE](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeclown%2Fekdb-dumps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeclown%2Fekdb-dumps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeclown%2Fekdb-dumps/lists"}