Code Monkey home page Code Monkey logo

shiny-retailers-in-covid's Introduction

Retailers in COVID Link

Team members: Xinbo Wang, Farhad Mughal, Mark Chen, Weizhong Yao

png

Overview

Retailers in COVID is a course project in my first semester of the MSBA program at UMN. Since COVID-19 brought so much uncertainty in retail traffic, the retailers need to allocate their resources more wisely. To help visualize the impact of COVID-19 on the retail industry, my team built this R-Shiny dashboard utilizing the data from Google Mobility.

Content

The repository contains three core files.

mobility_data_fetching_preparing.R

This is the R script that fetches the data from the Google platform and makes transformations to output the data for our dashboard.

data_for_dashboard.csv

This is the data output by the script and to be visualized in the R Markdown file.

Retailers-in-COVID.Rmd

This is the R Markdown file that can be knitted to form the R-Shiny dashboard shown in the link R-Shiny dashboard

How to Use the Dashboard

The green spots on the maps represent the counties that have increased traffic in retailer stores and red spots are ones with decreased traffic, compared to pre-COVID. The size of the spots represents a change in percentage (larger spots = larger change). png As you can see, the map is crowded by spots (counties). To make it easier to read, we built several widgets that can filter data.

Filter by State

png

Filter by Population Density

png

Zoom In

png

Conclusion

Using our dashboard, retailers can allocate resources smartly according to retail traffic, especially in a time like COVID.

shiny-retailers-in-covid's People

Contributors

farhadmughal avatar xinbo-w avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.