-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into improve-classify.py
- Loading branch information
Showing
37 changed files
with
3,817 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Copyright (c) 2024 University of Chicago. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its contributors | ||
may be used to endorse or promote products derived from this software without | ||
specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE | ||
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,9 +5,9 @@ | |
1. Collect: Gather key states' political campaign finance report data which should include recipient information, donor information, and transaction information. | ||
2. Transform: Define database schema for storing transaction and entity information and write code to transform and validate raw data to fit appropriate schema. | ||
3. Clean: Perform record linkage and fix likely data entry errors. | ||
4. Classify: Label all entities as fossil fuel, clean energy, or other | ||
5. Graph: Construct a network graph of campaign finance contributions | ||
6. Analyze: Perform analysis on network data and join with other relevant dataset | ||
4. Classify: Label all entities as fossil fuel, clean energy, or other. | ||
5. Graph: Construct a network graph of campaign finance contributions with mirco-level and macro-level views. | ||
6. Analyze: Perform analysis on network data and join with other relevant dataset. | ||
|
||
|
||
## Setup | ||
|
@@ -33,24 +33,19 @@ For developing, please use either a Docker dev container or slurm computer clust | |
|
||
### Network Visualization | ||
|
||
# TODO: #101 document what we want to see in the visualization and decide how many types of visual are needed | ||
|
||
The network visualizations created and their associated relevant metrics are housed in the `\output` directory. Specifically, [this](https://github.com/dsi-clinic/2024-winter-climate-cabinet-campaign-finance-tracker/tree/main/output/network_graphs) folder. Details about the approaches adopted for these visuals are present in [this](https://github.com/dsi-clinic/2024-winter-climate-cabinet-campaign-finance-tracker/blob/main/output/network_graphs/README.md) document. | ||
|
||
## Repository Structure | ||
|
||
### utils | ||
Project python code | ||
Project python code. | ||
|
||
### notebooks | ||
Contains short, clean notebooks to demonstrate analysis. | ||
Contains short, clean notebooks to demonstrate analysis. This is a dynamic folder with notebooks added/removed as per current working processes. | ||
|
||
### data | ||
|
||
Contains details of acquiring all raw data used in repository. If data is small (<50MB) then it is okay to save it to the repo, making sure to clearly document how to the data is obtained. | ||
|
||
If the data is larger than 50MB than you should not add it to the repo and instead document how to get the data in the README.md file in the data directory. | ||
|
||
This [README.md file](/data/README.md) should be kept up to date. | ||
Contains details of acquiring all raw data used in repository. | ||
|
||
### output | ||
This folder is empty by default. The final outputs of make commands will be placed here by default. | ||
|
@@ -74,7 +69,7 @@ Student Email: [email protected] | |
Student Name: Yangge Xu | ||
Student Email: [email protected] | ||
|
||
Student Name: Bhavya Pandey | ||
Student Name: Bhavya Pandey | ||
Student Email: [email protected] | ||
|
||
Student Name: Kaya Lee | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.