{"id":21437167,"url":"https://github.com/front-seat/fec-data","last_synced_at":"2025-03-16T23:24:27.619Z","repository":{"id":220381715,"uuid":"719198320","full_name":"front-seat/fec-data","owner":"front-seat","description":"Scratch code/tools/notebooks for working with historical FEC contribution data. (You probably won't find this very interesting, but hey -- you never know!)","archived":false,"fork":false,"pushed_at":"2024-02-01T18:53:40.000Z","size":671,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T09:35:44.432Z","etag":null,"topics":["election","election-data","fec"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/front-seat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-15T16:59:11.000Z","updated_at":"2024-02-01T17:43:00.000Z","dependencies_parsed_at":"2024-02-01T19:58:34.013Z","dependency_job_id":null,"html_url":"https://github.com/front-seat/fec-data","commit_stats":null,"previous_names":["front-seat/fec-data"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/front-seat%2Ffec-data","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/front-seat%2Ffec-data/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/front-seat%2Ffec-data/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/front-seat%2Ffec-data/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/front-seat","download_url":"https://codeload.github.com/front-seat/fec-data/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945926,"owners_count":20372955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["election","election-data","fec"],"created_at":"2024-11-23T00:18:13.081Z","updated_at":"2025-03-16T23:24:27.598Z","avatar_url":"https://github.com/front-seat.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fec-data\n\nWorking with FEC individual contribution data\n\nYou'll want to download FEC's 2019-2020 dataset from here: https://www.fec.gov/data/browse-data/?tab=bulk-data\nAnd you'll want to symlink `./data/indiv20.txt` to the `itcont.txt` file you download from FEC.\n\nDetails on the FEC data schema: https://www.fec.gov/campaign-finance-data/contributions-individuals-file-description/\n\n### Notes on installing dependencies locally on a Apple Silicon mac\n\nWe're using `python 3.12`. Modern Macs have `clang \u003e= 15.x` (mine has `17.0.4`).\n\nAlas, a transitive dependency (`multidict`) is currently broken in this environment and, also, does not ship binary wheels. Here's my solution: https://github.com/aio-libs/multidict/pull/877#issuecomment-1812948387\n\n### Running locally\n\nYou'll need the sqlite databases, of course (ask Dave).\n\nThen, you'll need to install the dependencies:\n\n```\nnpm install\nCFLAGS=\"-Wno-error=int-conversion\" pip install -r requirements.txt\npip install -r requirements-dev.txt\n```\n\nThen, you'll need to run both the Vite front-end server AND the python+litestar backend server:\n\n```\n./scripts/run.sh\n```\n\nPop open http://localhost:2222/ and you should see the app.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffront-seat%2Ffec-data","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffront-seat%2Ffec-data","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffront-seat%2Ffec-data/lists"}