GithubHelp home page GithubHelp logo

dicook / covid19 Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 795 KB

Code for pulling Nick Evershed's Guardian live feed and JHU data, with flex dashboard

Home Page: https://ebsmonash.shinyapps.io/covid19/

License: MIT License

covid19's People

Contributors

dicook avatar jiaying-wu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

jiaying-wu

covid19's Issues

Incidence rate in Australia page

Hi @dicook ,

In the page "Australia". Will that possible to make more sense to calculate the test_rate by tested/pop * 100? It can interpret as percent, the number might looks too large when multiple by 100000.

Using this code:

state_monash_data <- state_monash_data %>%
  mutate(rate = round(count/pop * 100000, digits = 2),  #change in decimal places
         test_rate = round(tested/pop * 100, digits = 2)) %>% # change in multiplier and  decimal places
  mutate(date = ymd(date))

Also it that possible to display pop instead of deaths, since the rate and test_rate was divide by pop. The first time i read the plot, i might thinking the rate is calculate by count/tested.

Using this code:

covid_ne_jhu_smry %>% 
  select(state, date, count, tested, pop, rate, test_rate) %>%  # replace deaths by pop
  arrange(desc(count)) %>%
  datatable(options = list(
  bPaginate = FALSE
))

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.