{"id":18952473,"url":"https://github.com/simonwhitaker/that-civil-tweet","last_synced_at":"2026-03-29T03:30:20.250Z","repository":{"id":137108140,"uuid":"437280276","full_name":"simonwhitaker/that-civil-tweet","owner":"simonwhitaker","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-06T09:39:42.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T02:29:05.270Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonwhitaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2021-12-11T12:47:14.000Z","updated_at":"2021-12-11T12:47:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"a72a5a32-f911-46c3-a95b-66ecf885489c","html_url":"https://github.com/simonwhitaker/that-civil-tweet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonwhitaker%2Fthat-civil-tweet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonwhitaker%2Fthat-civil-tweet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonwhitaker%2Fthat-civil-tweet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonwhitaker%2Fthat-civil-tweet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonwhitaker","download_url":"https://codeload.github.com/simonwhitaker/that-civil-tweet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239951715,"owners_count":19723915,"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":[],"created_at":"2024-11-08T13:33:36.219Z","updated_at":"2026-03-29T03:30:20.202Z","avatar_url":"https://github.com/simonwhitaker.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nOn 24 May, 2020, a rogue staffer posted a [highly critical tweet](https://www.theguardian.com/politics/2020/may/24/can-you-imagine-having-to-work-with-these-truth-twisters) on the UK Civil Service twitter account. Ever since, [@ThatCivilTweet](https://twitter.com/ThatCivilTweet) has been tweeting the same text twice a day, every day, to keep it fresh in our minds.\n\nThe code in this repository queries the Twitter API for the public stats (e.g. like counts) for every tweet from the @ThatCivilTweet account, then offers a Jupyter Notebook for visualising the data in an interactive plot.\n\n# Getting started\n\nTo run the code, first register for the [Twitter API](https://developer.twitter.com/en/docs/platform-overview) and generate a bearer token, then export it to your environment:\n\n```\nexport TWITTER_API_TOKEN=\u003cyour bearer token here\u003e\n```\n\nNow run the code.\n\n```\npoetry install\npoetry run python3 main.py \u003e data.csv\n```\n\nNow open viz.ipynb and run it to generate an interactive plot. If you've never used a .ipynb file before, the easiest way to get started is to open it in VS Code with the [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python) installed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonwhitaker%2Fthat-civil-tweet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonwhitaker%2Fthat-civil-tweet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonwhitaker%2Fthat-civil-tweet/lists"}