social-influence
code for social influence and its translation to the legislative arena
Science Score: 57.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 5 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.6%) to scientific vocabulary
Repository
code for social influence and its translation to the legislative arena
Basic Info
- Host: GitHub
- Owner: caramnix
- Language: Jupyter Notebook
- Default Branch: main
- Size: 6.42 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
Social Influence and its Translation to the Legislative Arena
code for social influence and its translation to the legislative arena
Description
Code for chapter 1 of my dissertation titled, Social Influence and its Translation to the Legislative Arena. Contains code for scraping tweets from Twitter using the academictwitteR package Code/Scrape/scrape_twitter.R.
Also contains code to take that ouput and create the directed network of legislator interactions on Twittter for the 115th House and Senate and the 116th House and Senate, ScrapeTwitterdata-115H.ipynb, ScrapeTwitterdata-115s.ipynb, ScrapeCongressdata.ipynb, ScrapeTwitterdata-116S.ipynb respectively.
Then convert these networks into adjacency matrices which represent tweets and mentions between legsialtors, ADJFowlerTwitter.ipynb.
The Connectedness folder uses these matrices to caluclate Connectedness wihtin each contextual enviornment for each chamber and session of Congress. The output of this procedure is availible in ** folder.
Resources
Bill data: https://www.govinfo.gov/bulkdata/BILLS/116.
Twitter Data:
House 115th
Littman, Justin, 2017, "representatives-accounts-1.tab", 115th U.S. Congress Tweet Ids, https://doi.org/10.7910/DVN/UIVHQR/5UXBOC, Harvard Dataverse, V5, UNF:6:brZWYO9FQkqRnjUwKnZ01A== [fileUNF]
Senate 115th
Littman, Justin, 2017, "senators-accounts-1.tab", 115th U.S. Congress Tweet Ids, https://doi.org/10.7910/DVN/UIVHQR/FVKRIA, Harvard Dataverse, V5, UNF:6:8RaZETnZba8tACCjfl1DLA== [fileUNF]
116th https://dataverse.harvard.edu/file.xhtml?persistentId=doi:10.7910/DVN/MBOJNS/WXZE5N&version=1.0
LES SCORES: https://thelawmakers.org/data-download
LES data: Social Influence/Data CELHouse93to116.xlsx CELSenate93to116.xlsx
CODE: ScrapeCongressData.ipynb
CSV’s: leginfo116H.csv leginfo116S.csv leginfo115H.csv leginfo115S.csv
Twitter handles & other useful information mocjoined116.csv 115congress.csv
Owner
- Login: caramnix
- Kind: user
- Website: https://u.osu.edu/nix.39/
- Twitter: CaraNix
- Repositories: 1
- Profile: https://github.com/caramnix
Citation (CITATION.cff)
cff-version: 1.2.0 message: "If you use this software, please cite it as below." authors: - family-names: "Nix" given-names: "Cara" orcid: "https://orcid.org/0000-0001-7858-3363" title: "socialinfluence" version: 1.0.0 date-released: 2024-06-11 url: "https://github.com/caramnix/social-influence"
GitHub Events
Total
- Push event: 1
Last Year
- Push event: 1