The dataset viewer is not available for this split.
Error code: FeaturesError Exception: ArrowInvalid Message: Could not convert '1. (1)\xa0In this Act, “abandoned orchard” means an orchard, (a) the fruit of which has not been produced for sale for human consumption for two consecutive growing seasons, and (b) that has been designated by a certificate of the Provincial Entomologist as a neglected orchard; (“verger abandonné”) “Director” means the Director appointed under this Act; (“directeur”) “fruit tree disease” means any disease or injury of a fruit tree that is caused by an insect, virus, fungus, bacterium or other organism; (“maladie d’arbre fruitier”) “fruit trees” means, (a) apple trees, (b) cherry trees, (c) grape vines, (d) peach trees, (e) pear trees, (f) plum trees, and (g) such other fruit-producing trees, shrubs or vines as are designated in the regulations; (“arbres fruitiers”) “inspector” means an inspector appointed under this Act; (“inspecteur”) “orchard” means an area of land of at least one-fifth hectare on which there are at least thirteen fruit trees and on which the number of fruit trees bears a proportion to the area of at least sixty-five fruit trees per hectare; (“verger”) “owner” means the person shown as the owner of the property on the last revised assessment roll of the municipality in which the property is located; (“propriétaire”) “Provincial Entomologist” means the Provincial Entomologist for Orchards appointed under this Act; (“entomologiste provincial”) “regulations” means the regulations made under this Act. (“règlements”) Application (2) This Act applies only to orchards any part of which is closer than 275 metres to an orchard that is used for the commercial production of fruit and that does not come within the application of section 4. R.S.O. 1990, c. A.1, s. 1.' with type str: tried to convert to double Traceback: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 322, in compute compute_first_rows_from_parquet_response( File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 88, in compute_first_rows_from_parquet_response rows_index = indexer.get_rows_index( File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 640, in get_rows_index return RowsIndex( File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 521, in __init__ self.parquet_index = self._init_parquet_index( File "/src/libs/libcommon/src/libcommon/parquet_utils.py", line 538, in _init_parquet_index response = get_previous_step_or_raise( File "/src/libs/libcommon/src/libcommon/simple_cache.py", line 591, in get_previous_step_or_raise raise CachedArtifactError( libcommon.simple_cache.CachedArtifactError: The previous step failed. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 240, in compute_first_rows_from_streaming_response iterable_dataset = iterable_dataset._resolve_features() File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 2216, in _resolve_features features = _infer_features_from_batch(self.with_format(None)._head()) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/iterable_dataset.py", line 60, in _infer_features_from_batch pa_table = pa.Table.from_pydict(batch) File "pyarrow/table.pxi", line 1813, in pyarrow.lib._Tabular.from_pydict File "pyarrow/table.pxi", line 5347, in pyarrow.lib._from_pydict File "pyarrow/array.pxi", line 373, in pyarrow.lib.asarray File "pyarrow/array.pxi", line 343, in pyarrow.lib.array File "pyarrow/array.pxi", line 42, in pyarrow.lib._sequence_to_array File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowInvalid: Could not convert '1. (1)\xa0In this Act, “abandoned orchard” means an orchard, (a) the fruit of which has not been produced for sale for human consumption for two consecutive growing seasons, and (b) that has been designated by a certificate of the Provincial Entomologist as a neglected orchard; (“verger abandonné”) “Director” means the Director appointed under this Act; (“directeur”) “fruit tree disease” means any disease or injury of a fruit tree that is caused by an insect, virus, fungus, bacterium or other organism; (“maladie d’arbre fruitier”) “fruit trees” means, (a) apple trees, (b) cherry trees, (c) grape vines, (d) peach trees, (e) pear trees, (f) plum trees, and (g) such other fruit-producing trees, shrubs or vines as are designated in the regulations; (“arbres fruitiers”) “inspector” means an inspector appointed under this Act; (“inspecteur”) “orchard” means an area of land of at least one-fifth hectare on which there are at least thirteen fruit trees and on which the number of fruit trees bears a proportion to the area of at least sixty-five fruit trees per hectare; (“verger”) “owner” means the person shown as the owner of the property on the last revised assessment roll of the municipality in which the property is located; (“propriétaire”) “Provincial Entomologist” means the Provincial Entomologist for Orchards appointed under this Act; (“entomologiste provincial”) “regulations” means the regulations made under this Act. (“règlements”) Application (2) This Act applies only to orchards any part of which is closer than 275 metres to an orchard that is used for the commercial production of fruit and that does not come within the application of section 4. R.S.O. 1990, c. A.1, s. 1.' with type str: tried to convert to double
Need help to make the dataset viewer work? Open a discussion for direct support.
##Ontario Laws & Regulations Dataset
⚖️Ontario Laws & Regs⚖️
The Ontario Laws & Regs dataset contains 5,096 Ontario laws and regulations.
The laws and regulations consist of the most recent version of all current and revoked laws and regs.
The dataset is distributed under the MIT license and is intended to facilitate ML and data tasks involving Ontario legislation.
In addition, a scraper is provided which is capable of capturing different configurations of the data directly from the Ontario eLaws website, found here.
Structure🏛️
Each law and regulation is stored in its own json file which contains the following fields & sub-fields:
- act_info/reg_info: Act/Reg Info, includes: -- full_title: Full Title -- act_name_text/reg_name_text: Act/Reg Name Text -- citation: Citation -- act_under: For regulations only, the parent act. -- url: URL -- date_scraped: Date Scraped
- copyright: Crown copyright blurb -- Copyright: As required by eLaws TOS
- versions: Versions, includes a list of versions containing: -- a_href: URL slug for given version -- valid_from: Valid from -- valid_to: Valid to
- current_regs: Current Regs (for Statutes), being a list of associated regulations, containing: -- a_href: URL slug for given regulation -- Citation: Citation -- title: Title
- revoked_regs: Revoked Regs (for Statutes), being a list of associated revoked regulations, containing: -- revoked_reg_a_href: URL slug for given revoked regulation -- revoked_reg_citation: Citation -- revoked_reg_title: Title
- content: Contents of the act or regulation, being a list of sections, containing: -- id: Section # -- section: Section title -- content: Section content, as utf-8 text -- raw_html: raw html of section content, containing extra features
Collection 📥
Documents were sourced from the Ontario eLaws Website.
eLaws Scraper
was used to extract the documents and parse them to jsons.
Licence 📜
Both the dataset and its associated scraper are distributed under MIT license.
- Downloads last month
- 3