caciviclab / disclosure-backend-static

Campaign finance data powering Open Disclosure California
https://caciviclab.org/odca-jekyll/
15 stars 14 forks source link

Candidates need cadidate_slug. #261

Closed mikeubell closed 4 years ago

mikeubell commented 4 years ago

I thought I pushed this some time ago... I was using the wrong slug.

tdooner commented 4 years ago
Build diff from Commit 8d6d7bd15667a999958afd4bc48c097ac482b49f: ```diff diff --git a/build/_data/candidates/oakland/2020-11-03/mark-hurty.json b/build/_data/candidates/oakland/2020-11-03/mark-hurty.json index bd08a74..3ef9e73 100644 --- a/build/_data/candidates/oakland/2020-11-03/mark-hurty.json +++ b/build/_data/candidates/oakland/2020-11-03/mark-hurty.json @@ -18,22 +18,25 @@ "is_winner": null, "filer_id": 1422177, "supporting_money": { - "contributions_received": 1100.0, - "total_contributions": 1100.0, - "total_expenditures": 965.0, + "contributions_received": 5573.0, + "total_contributions": 5573.0, + "total_expenditures": 1102.6, "total_loans_received": 0.0, "total_supporting_independent": 0.0, "support_list": [ ], "contributions_by_type": { - "Unitemized": 0.0, + "Committee": 1400.0, + "Individual": 2650.0, + "Unitemized": 423.0, "Self Funding": 300.0, "Other (includes Businesses)": 800.0 }, "contributions_by_origin": { - "Out of State": 800.0, - "Within Oakland": 300.0 + "Out of State": 2600.0, + "Within Oakland": 1300.0, + "Within California": 1250.0 }, "total_small_contributions": null, "expenditures_by_type": { @@ -50,7 +53,7 @@ ] }, - "total_contributions": 1100.0, - "total_expenditures": 965.0, + "total_contributions": 5573.0, + "total_expenditures": 1102.6, "total_loans_received": 0.0 } diff --git a/build/_data/elections/oakland/2014-11-04.json b/build/_data/elections/oakland/2014-11-04.json index b95b3c5..e43616b 100644 --- a/build/_data/elections/oakland/2014-11-04.json +++ b/build/_data/elections/oakland/2014-11-04.json @@ -2,7 +2,7 @@ "total_contributions": 2008800.7300000002, "total_contributions_by_source": { "Out of State": 124441.89, - "Within Oakland": 1032646.0499999998, + "Within Oakland": 1032646.05, "Within California": 731917.51 }, "contributions_by_type": { diff --git a/build/_data/elections/oakland/2020-11-03.json b/build/_data/elections/oakland/2020-11-03.json index 2649940..afa0017 100644 --- a/build/_data/elections/oakland/2020-11-03.json +++ b/build/_data/elections/oakland/2020-11-03.json @@ -1,14 +1,14 @@ { - "total_contributions": 322719.2, + "total_contributions": 327192.2, "total_contributions_by_source": { - "Out of State": 14793.84, - "Within Oakland": 135186.51, - "Within California": 138293.71 + "Out of State": 16593.84, + "Within Oakland": 136186.51, + "Within California": 139543.71 }, "contributions_by_type": { - "Committee": 26723.67, - "Individual": 237425.39, - "Unitemized": 24015.82, + "Committee": 28123.67, + "Individual": 240075.39, + "Unitemized": 24438.82, "Self Funding": 1300.0, "Other (includes Businesses)": 22825.0 }, diff --git a/build/_data/stats.json b/build/_data/stats.json index 3e5c895..f12fc1a 100644 --- a/build/_data/stats.json +++ b/build/_data/stats.json @@ -1,3 +1,3 @@ { - "date_processed": "2020-07-27 00:20:48 -0700" + "date_processed": "2020-07-28 00:29:34 -0700" } diff --git a/build/_data/totals.json b/build/_data/totals.json index 784e175..68efdb2 100644 --- a/build/_data/totals.json +++ b/build/_data/totals.json @@ -3,7 +3,7 @@ "total_contributions": 2008800.7300000002, "total_contributions_by_source": { "Out of State": 124441.89, - "Within Oakland": 1032646.0499999998, + "Within Oakland": 1032646.05, "Within California": 731917.51 }, "contributions_by_type": { @@ -660,16 +660,16 @@ ] }, "oakland-2020": { - "total_contributions": 322719.2, + "total_contributions": 327192.2, "total_contributions_by_source": { - "Out of State": 14793.84, - "Within Oakland": 135186.51, - "Within California": 138293.71 + "Out of State": 16593.84, + "Within Oakland": 136186.51, + "Within California": 139543.71 }, "contributions_by_type": { - "Committee": 26723.67, - "Individual": 237425.39, - "Unitemized": 24015.82, + "Committee": 28123.67, + "Individual": 240075.39, + "Unitemized": 24438.82, "Self Funding": 1300.0, "Other (includes Businesses)": 22825.0 }, ```
mikeubell commented 4 years ago

candidate_slug appears in the index and is used to build the url, so the name has to be consistent with other records.