{"id":16551130,"url":"https://github.com/michaelcurrin/water-crisis-dash","last_synced_at":"2026-02-13T13:51:31.864Z","repository":{"id":93180307,"uuid":"122862558","full_name":"MichaelCurrin/water-crisis-dash","owner":"MichaelCurrin","description":"Reporting on Twitter trending data related to the Cape Town water crisis or Corona","archived":false,"fork":false,"pushed_at":"2025-03-11T08:22:29.000Z","size":97,"stargazers_count":0,"open_issues_count":17,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T09:28:41.463Z","etag":null,"topics":["flask","python","python3","trending","trends","twitter","water","water-resources","webserver"],"latest_commit_sha":null,"homepage":"https://michaelcurrin.pythonanywhere.com/","language":"Python","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/MichaelCurrin.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":"2018-02-25T18:15:08.000Z","updated_at":"2023-02-20T09:12:51.000Z","dependencies_parsed_at":"2023-05-02T07:46:51.783Z","dependency_job_id":"1566c830-a9ed-4d20-b6b4-8522bdf46d92","html_url":"https://github.com/MichaelCurrin/water-crisis-dash","commit_stats":{"total_commits":122,"total_committers":3,"mean_commits":"40.666666666666664","dds":0.0901639344262295,"last_synced_commit":"31cb2b6a778b622c28db219981d9b2ff9d930999"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelCurrin%2Fwater-crisis-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelCurrin%2Fwater-crisis-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelCurrin%2Fwater-crisis-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MichaelCurrin%2Fwater-crisis-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MichaelCurrin","download_url":"https://codeload.github.com/MichaelCurrin/water-crisis-dash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244135405,"owners_count":20403796,"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":["flask","python","python3","trending","trends","twitter","water","water-resources","webserver"],"created_at":"2024-10-11T19:36:26.941Z","updated_at":"2026-02-13T13:51:31.789Z","avatar_url":"https://github.com/MichaelCurrin.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Water Dashboard\n\u003e Reporting on Twitter trending data related to the Cape Town water crisis (Python3 [Flask](http://flask.pocoo.org/) web server)\n\nThere is only one web page currently on this server. It is viewable at [michaelcurrin.pythonanywhere.com](https://michaelcurrin.pythonanywhere.com). On a request, web server queries a SQLite database that contains trending topic data retrieved from the [Twitter API](https://dev.twitter.com/docs). That data is added on a daily schedule using my [twitterverse](https://github.com/MichaelCurrin/twitterverse) repo, which runs as a separate application and can be used to fetch either high-level trending topics or individual tweet data.\n\nThe data which is shown on the server is a filtered view of all the trending data which has been stored in my database over a few months. Therefore it is easy to broaden or narrow the query to displaying relevant data around the Cape Town water crisis, or to focus the query on a different topic in South Africa. It is also easy to broaden the query to other English-speaking locations for which I have daily data, since I retrieve data for many countries and cities in areas like United States and Europe.\n\n\n## Documentation\n\n- [Installation](/docs/installation.md)\n- [Usage](/docs/usage.md)\n\n\n## Resources\n\n- [Flask](https://flask.palletsprojects.com/en/1.1.x/) website or [Flask](https://flask-doc.readthedocs.io/en/latest/) read-the-docs site. This is the web server.\n- [Flask caching](https://flask-caching.readthedocs.io/en/latest/). This reduces queries to the database by caching the view. Built on [Flask-Cache](https://pythonhosted.org/Flask-Cache/).\n\n\n## Future development\n\nI have plans to expand the visualizations on the server using something like one of these:\n- the Python [dash](https://plot.ly/products/dash/) library\n- JavaScript's [D3](https://d3js.org/) library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcurrin%2Fwater-crisis-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelcurrin%2Fwater-crisis-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelcurrin%2Fwater-crisis-dash/lists"}