datamade / nmid-scrapers

Scrapers for NMID
MIT License
0 stars 0 forks source link

get committee data that links better to contributions and expenditures #19

Open fgregg opened 9 months ago

fgregg commented 9 months ago

The contribution and expenditure data has OrgID (StateID) for the reporting organization.

We could get that from iterating through:

https://login.cfis.sos.state.nm.us/api///Search/GetPublicSiteBasicSearchResult?searchText=a&searchType=Candidate%2FOfficeholder&pageNumber=1&pageSize=1000&sortDir=asc&sortedBy=

to get the ids for all the candidate committees

and through https://login.cfis.sos.state.nm.us/index.html#/exploreCommittee to get the PAC committees.

It might be worthwhile scraping candidates too see if we can merge them up.