{"id":15941236,"url":"https://github.com/rimolive/us-elections","last_synced_at":"2025-04-03T21:15:12.003Z","repository":{"id":147480135,"uuid":"128848657","full_name":"rimolive/us-elections","owner":"rimolive","description":null,"archived":false,"fork":false,"pushed_at":"2018-08-17T09:55:20.000Z","size":5528,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T09:12:48.502Z","etag":null,"topics":["data-visualization","elections","politics","r"],"latest_commit_sha":null,"homepage":null,"language":"R","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/rimolive.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-04-10T00:13:46.000Z","updated_at":"2018-08-17T09:55:22.000Z","dependencies_parsed_at":"2023-07-28T02:32:21.773Z","dependency_job_id":null,"html_url":"https://github.com/rimolive/us-elections","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/rimolive%2Fus-elections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimolive%2Fus-elections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimolive%2Fus-elections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rimolive%2Fus-elections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rimolive","download_url":"https://codeload.github.com/rimolive/us-elections/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247078863,"owners_count":20879952,"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":["data-visualization","elections","politics","r"],"created_at":"2024-10-07T07:02:38.571Z","updated_at":"2025-04-03T21:15:11.985Z","avatar_url":"https://github.com/rimolive.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# US Elections dashboard\n\nThis tutorial will show a geo dashboard containing results from the past US elections. This project aims to show in the map the number of voters in each county in the past 3 presidential elections (2008, 2012 and 2016).\n\nYou can also deploy this app in OpenShift by following the suggestion in [Deploying on OpenShift](#deploying-on-openshift) section.\n\n**Note**: It is still a work in progress.\n\n## Deploying on OpenShift\n\nTo deploy on OpenShift, follow the instructions below:\n\n* Add the Imagestream for R in your OpenShift project.\n\n```\noc create -f https://raw.githubusercontent.com/rimolive/r-s2i-openshift/master/template.yaml\n```\n\n* Create a new application using this repo and the newest R Imagestream.\n\n```\noc new-app r~https://github.com/rimolive/us-elections.git\n```\n\n* Add a new Environment Variable for us-elections DeploymentConfig to point to the application main script.\n\n```\noc env dc/us-elections MAIN_FILE=app.R\n```\n\n* Expose the application endpoint.\n\n```\noc expose svc/us-elections\n```\n\n## Future improvements\n\n* Add a filter in the map section to show other election years\n* Create a better palette to show the range of voters (currently the variance is high)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimolive%2Fus-elections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frimolive%2Fus-elections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frimolive%2Fus-elections/lists"}