mirror of
https://github.com/public-law/nevada-revised-statutes-parser.git
synced 2026-07-09 20:28:45 -07:00
Parses the Nevada NRS into well formed JSON
- Haskell 98.7%
- Shell 1%
- Dockerfile 0.3%
| app | ||
| scripts | ||
| src | ||
| test | ||
| .ghcid | ||
| .gitignore | ||
| .hspec | ||
| .travis.yml | ||
| Dockerfile | ||
| LICENSE | ||
| nrs-parser.cabal | ||
| README.md | ||
| Setup.hs | ||
| stack.yaml | ||
| stack.yaml.lock | ||
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
- An Opinionated Guide to Haskell in 2018
- Haskell Porting Notes
- Haskell Package Checklist
- Haskell Data Types in 5 Steps