datamade / nmid-scrapers

Scrapers for NMID
MIT License
0 stars 0 forks source link

Add filer type #7

Closed antidipyramid closed 8 months ago

antidipyramid commented 8 months ago

Overview

Closes #3

Demo

A PDF with this table:

Screen Shot 2024-01-08 at 4 37 36 PM

Outputs:

{
    "employer": {
        ...
    },
    "spouse's employer": {
        ...
    },
    "current filing status": [
        {
            "Reporting individual": "Appointed To",
            "Office / Board or Commission / Agency Name": (
                "MILITARY BASE PLANNING COMMISSION"
            ),
            "Date Assumed Office, Employed, or Appointed": "06/01/2021",
        },
        {
            "Reporting individual": "Appointed To",
            "Office / Board or Commission / Agency Name": (
                "MILITARY BASE PLANNING COMMISSION"
            ),
            "Date Assumed Office, Employed, or Appointed": "01/01/2022",
        },
    ],
}

Testing Instructions