/nevada-revised-statutes-parser

Parses the Nevada NRS into well formed JSON

Primary LanguageHaskellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Parser for the Nevada Revised Statutes

Input: The Nevada Revised Statutes website, mirrored with the included script into /tmp.

Output: Well-formed JSON which implements the laws' structure as the legislature created it:

{
    "nominalDate": 2018,
    "dateAccessed": "2018-01-28",
    "statuteTree": {
        "titles": [
            {
                "chapters": [
                    {
                        "url": "https://www.leg.state.nv.us/nrs/NRS-1.html",
                        "name": "Judicial Department Generally",
                        "number": "1",
                        "subChapters": [
                            {

etc.

Explore the Data on Kaggle

Opinionated Resources for Haskell Best Practices

On Exception Handling