diff --git a/README.md b/README.md index 7be5fc7f47d5db027d120b8024982df93db95b74..a251cb43f0aed739a8636967a39d7606c0d48fc4 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,60 @@ ---- -license: mit ---- +--- +license: mit +language: +- en +tags: +- legal +pretty_name: American Law +viewer: false +--- +# American Law +## Gathered by Kyle Rose + +## Description +Municipal and County Laws from across the United States, in parquet format. +Files are named after a location's [GNIS id](https://en.wikipedia.org/wiki/Geographic_Names_Information_System) and what they contain. +Unless specified otherwise, each row is one sub-section of a law. +It is the one of the smallest units of law that can be cited under the [Bluebook Citation method](https://owl.purdue.edu/owl/research_and_citation/chicago_manual_17th_edition/cmos_formatting_and_style_guide/bluebook_citation_for_legal_materials.html). +For convenience's sake, these will be referred to as "law" for the rest of this document. All types are from Python. +Unless specified otherwise, each embedding was created using OpenAI's "text-embedding-3-small" model. + +## Parquet Contents +### HTML +Files that end in '_html' consist of rows with the following attributes: +- cid (str): A unique CID for the law. It is created from the string "{gnis}_{doc_title}.json". Ex: "bafkreifzhmfladwvggsjdrc32npt6exucvrl3xe2omkgyfkqpo35ufaope" +- doc_id (str): A unique ID based on the law's plaintext title. Ex: "CO_CH27HOSPVI" +- doc_order (int): The relative location of a law in a corpus, in ascending order. +- html_title (str): The raw HTML of the law's title. Ex: ""
Chapter 46 - MASTER ROAD PLAN AND SPECIFICATIONS