{"id":19982583,"url":"https://github.com/sssshefer/covid-map","last_synced_at":"2025-03-01T20:13:03.281Z","repository":{"id":261574008,"uuid":"884711839","full_name":"sssshefer/covid-map","owner":"sssshefer","description":"Interactive map showing covid data implemented on R language","archived":false,"fork":false,"pushed_at":"2024-12-30T00:38:14.000Z","size":9689,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T10:48:25.898Z","etag":null,"topics":["big-data","data-visualization","r","r-studio"],"latest_commit_sha":null,"homepage":"https://shefer.shinyapps.io/covid-map/","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/sssshefer.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":"2024-11-07T08:55:25.000Z","updated_at":"2024-12-30T00:38:18.000Z","dependencies_parsed_at":"2024-11-07T09:44:42.510Z","dependency_job_id":"7444c486-5a86-4d0e-bb07-f97acb4cdcda","html_url":"https://github.com/sssshefer/covid-map","commit_stats":null,"previous_names":["sssshefer/covid-map"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sssshefer%2Fcovid-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sssshefer%2Fcovid-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sssshefer%2Fcovid-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sssshefer%2Fcovid-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sssshefer","download_url":"https://codeload.github.com/sssshefer/covid-map/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241418356,"owners_count":19959736,"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":["big-data","data-visualization","r","r-studio"],"created_at":"2024-11-13T04:12:14.112Z","updated_at":"2025-03-01T20:13:03.262Z","avatar_url":"https://github.com/sssshefer.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interactive COVID Map\n\nThis project provides an interactive COVID-19 global map that allows users to visualize the spread of COVID-19 cases and deaths worldwide. Users can explore the map with customizable metrics, including the option to view new or cumulative cases and deaths for each country or globally. The project is implemented using R, the Shiny package for interactive web applications, and the Leaflet library for rendering the map.\n\n![{5295F3F0-D45C-496A-90D8-1A1E72C4BC72}](https://github.com/user-attachments/assets/a9092677-4d41-4366-85f1-df64cba4d1d4)\n\n## Table of Contents\n- [Theory Notes](#theory-notes)\n  - [R Overview](#r-overview)\n- [Features and Functionality](#features-and-functionality)\n- [Implementation](#implementation)\n- [Running the Project Locally](#running-the-project-locally)\n\n\n## Theory Notes\n\n### R Overview\nR is a programming language and free software environment used for statistical computing and graphics. In this project, we utilize R's ability to handle large datasets, perform statistical analysis, and produce interactive web applications with Shiny. Key packages used in this project include:\n\n- **Shiny**: Enables interactive web applications.\n- **ggplot2** and **Plotly**: Used for data visualization.\n- **Leaflet**: Allows for interactive maps.\n- **dplyr** and **tidyr**: Help with data manipulation.\n- **sf**: Provides support for spatial data.\n\n\n## Features and Functionality\n- **Interactive Map**: Users can view COVID-19 data on a global map, with the option to select the data type (new or cumulative) and metrics (positive cases or deaths).\n- **Customizable Views**: Dropdown menus allow users to select countries and different data types, adjusting the map and accompanying charts accordingly.\n- **Data Visualization**: Visualizations include a bubble map, bar plots for cases and deaths, and the ability to track trends over time.\n\n## Implementation\nThe implementation of this project is dynamic and relies on reactive programming provided by the Shiny framework. The map and data visualizations are updated in real-time based on user inputs. This ensures that the map reflects the selected state of the pandemic across the globe, as well as detailed metrics for specific countries.\n\nThe project uses a combination of R packages for data handling, map rendering, and interactive plotting:\n- **Leaflet**: For rendering the interactive map with COVID-19 case and death data.\n- **Plotly and ggplot2**: For interactive visualizations, such as bar charts and line plots.\n- **dplyr and tidyr**: For cleaning and manipulating the COVID-19 dataset.\n\n## Running the Project Locally\n  1) Install R and RStudio\n  2) Install Dependencies\n  3) Install the required R packages by running the following command in your RStudio console:\n```r\ninstall.packages(c(\"dplyr\", \"tidyr\", \"lubridate\", \"ggplot2\", \"shiny\", \"bslib\", \"leaflet\", \"rnaturalearth\", \"sf\", \"rnaturalearthdata\", \"plotly\"))\n```\nClone the repo and open the project by clicking on the .R file.\n\u003e [!IMPORTANT]\n\u003e Ensure that you open the file directly from the file explorer rather than from within RStudio. This ensures that the local file paths are set correctly for the dataset.\n\u003e If you want to avoid needing to open the file from the file explorer each time, you can modify the dataset path to an absolute path in the script.\n\nBy following these steps, you should be able to run the interactive COVID map locally on your machine.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsssshefer%2Fcovid-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsssshefer%2Fcovid-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsssshefer%2Fcovid-map/lists"}