{"id":29913806,"url":"https://github.com/gardner/nz_legislation","last_synced_at":"2025-09-11T10:37:58.796Z","repository":{"id":235620536,"uuid":"672495689","full_name":"gardner/nz_legislation","owner":"gardner","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-30T09:37:50.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-01T22:20:35.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gardner.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}},"created_at":"2023-07-30T09:30:44.000Z","updated_at":"2025-01-02T02:44:53.000Z","dependencies_parsed_at":"2024-04-24T02:06:19.907Z","dependency_job_id":"871fb573-0395-48fc-8711-85be74c158aa","html_url":"https://github.com/gardner/nz_legislation","commit_stats":null,"previous_names":["gardner/nz_legislation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gardner/nz_legislation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardner%2Fnz_legislation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardner%2Fnz_legislation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardner%2Fnz_legislation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardner%2Fnz_legislation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gardner","download_url":"https://codeload.github.com/gardner/nz_legislation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gardner%2Fnz_legislation/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268326739,"owners_count":24232496,"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-08-02T02:00:12.353Z","response_time":74,"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":"2025-08-02T02:15:16.925Z","updated_at":"2025-08-02T02:15:29.488Z","avatar_url":"https://github.com/gardner.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\nThis code produces the dataset at https://huggingface.co/datasets/gardner/nz_legislation\n\nThe resulting data is in `jsonl` format and each line contains:\n\n```json\n{\n    \"id\": \"DLM415522\",\n    \"year\": \"1974\",\n    \"title\": \"Ngarimu VC and 28th (Maori) Battalion Memorial Scholarship Fund Amendment Act 1974\",\n    \"text\": \"1: Short Title\\nThis Act may be cited as the Ngarimu VC and 28th (Maori) Battalion Memorial Scholarship Fund Amendment Act 1974, and shall be read together with and deemed part of the Ngarimu VC and 28th (Maori) Battalion Memorial Scholarship Fund Act 1945\\n2:\\n3:\\n4: New sections substituted\\n1: This subsection substituted section 14 section 15\\n2: Notwithstanding anything in subsection (1) subsection (1)\\n3: Notwithstanding anything in section 15 subsection (1)\"\n}\n```\n\n## Copyright\n\nThe legislation text data in this dataset repository has **no copyright**.\n\nFrom the Legislation.govt.nz [website](https://legislation.govt.nz/about.aspx#copyright):\n\n\u003e There is no copyright in New Zealand Acts, Bills, or the secondary legislation published on this website (see [section 27 of the Copyright Act 1994](https://legislation.govt.nz/act/public/1994/0143/latest/DLM345939.html)). All Acts, Bills, Supplementary Order Papers, and secondary legislation published on this website may be reproduced free of charge in any format or media without requiring specific permission.\n\n## Challenges\n\nA few challenges in producing this dataset mainly arose due to standards support by the publisher. Specifically:\n\n* The character sets differ from document to document.\n* The HTTP server does not support Last-Modified headers.\n* The XML files contain innacurate metadata.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgardner%2Fnz_legislation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgardner%2Fnz_legislation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgardner%2Fnz_legislation/lists"}