{"id":20324383,"url":"https://github.com/oniani/ira-analysis","last_synced_at":"2025-09-06T00:42:59.343Z","repository":{"id":40977457,"uuid":"196776375","full_name":"oniani/ira-analysis","owner":"oniani","description":"Code for the Paper \"Textual and Statistical Analysis of Russian IRA Facebook Advertisements\"","archived":false,"fork":false,"pushed_at":"2022-09-02T07:33:13.000Z","size":30889,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-30T16:53:14.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/oniani.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}},"created_at":"2019-07-13T23:58:11.000Z","updated_at":"2021-06-12T15:00:53.000Z","dependencies_parsed_at":"2023-01-17T19:45:09.956Z","dependency_job_id":null,"html_url":"https://github.com/oniani/ira-analysis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oniani/ira-analysis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Fira-analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Fira-analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Fira-analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Fira-analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oniani","download_url":"https://codeload.github.com/oniani/ira-analysis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Fira-analysis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273842864,"owners_count":25177921,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-14T19:33:47.572Z","updated_at":"2025-09-06T00:42:58.961Z","avatar_url":"https://github.com/oniani.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textual and Statistical Analysis of Russian IRA Facebook Advertisements\n\n## Organization\n\n```zsh\n.\n├── LICENSE        # A license for the project\n├── data           # Data storage\n├── koppel11       # Implementation of the paper \"koppel11\"\n├── nlp-model      # NLP model for binary classification of IRA ad texts\n├── paper          # Paper\n├── pdf-scraping   # Tools for PDF scraping\n├── visualization  # Programs and scripts for statistical visualizations\n└── web-app        # Web application using the pre-trained NLP model\n```\n\n## Working with Data\n\nThe recommended way of working with the CSV data is using the `pandas` library.\n`pandas` provides a user-friendly environment for working with data in the\ntabular format. See an example below. Alternatively, one could also use\nPython's built-in `csv` module (or other programming language of preference and\nits tools).\n\n```python3\nPython 3.7.3 (default, Mar 27 2019, 09:23:15)\nType 'copyright', 'credits' or 'license' for more information\nIPython 7.5.0 -- An enhanced Interactive Python. Type '?' for help.\n\nIn [1]: import pandas as pd\n\nIn [2]:\n\nIn [2]: data = pd.read_csv(\"./data/csv/year-2015/2015-Quarter-2.csv\", na_filter=False, thousands=\",\")\n\nIn [3]:\n\nIn [3]: data.columns\nOut[3]:\nIndex(['Ad ID', 'Ad Text', 'Ad Landing Page', 'Ad Targeting Location',\n       'Excluded Connections', 'Age', 'Language', 'Placements',\n       'People Who Match', 'Friends of Connections', 'Ad Impressions',\n       'Ad Clicks', 'Ad Spend', 'Ad Creation Date', 'Ad End Date'],\n      dtype='object')\n\nIn [4]:\n\nIn [4]: data.dtypes\nOut[4]:\nAd ID                      int64\nAd Text                   object\nAd Landing Page           object\nAd Targeting Location     object\nExcluded Connections      object\nAge                       object\nLanguage                  object\nPlacements                object\nPeople Who Match          object\nFriends of Connections    object\nAd Impressions             int64\nAd Clicks                  int64\nAd Spend                  object\nAd Creation Date          object\nAd End Date               object\ndtype: object\n```\n\n## References\n\n- [Authorship attribution in the wild](https://www.researchgate.net/publication/220147732_Authorship_attribution_in_the_wild)\n- [Who Wrote the Web? Revisiting Influential Author Identification Research Applicable to Information Retrieval](https://www.researchgate.net/publication/309025021_Who_Wrote_the_Web_Revisiting_Influential_Author_Identification_Research_Applicable_to_Information_Retrieval)\n- [Authorship Attribution of Micro-Messages](https://www.aclweb.org/anthology/D13-1193)\n- [Design and Implementation of a Machine Learning-Based Authorship Identification Model](https://www.hindawi.com/journals/sp/2019/9431073/)\n- [Exposing Russia’s Effort to Sow Discord Online: The Internet Research Agency and Advertisements](https://intelligence.house.gov/social-media-content/)\n- [The Tactics \u0026 Tropes of the Internet Research Agency](https://disinformationreport.blob.core.windows.net/disinformation-report/NewKnowledge-Disinformation-Report-Whitepaper.pdf)\n- [How Russian Trolls Used Meme Warfare to Divide America](https://www.wired.com/story/russia-ira-propaganda-senate-report/)\n- [Racist cop Facebook posts are a public safety problem | Editorial](https://www.inquirer.com/opinion/editorials/philadelphia-police-facebook-posts-plain-view-project-racist-20190605.html)\n- [Facebook Ad Library](https://www.facebook.com/ads/library)\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foniani%2Fira-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foniani%2Fira-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foniani%2Fira-analysis/lists"}