Giter Site home page Giter Site logo

Comments (3)

timriffe avatar timriffe commented on September 28, 2024

Thanks @kikeacosta is adjusting the script just now. If you see more let us know. We realized yesterday some scripts (older ones) were hard coded to 2020, shouldn't take long to take care of this.

from covid_age.

mpascariu avatar mpascariu commented on September 28, 2024

Hi @kikeacosta and @timriffe
This issue can still be seen for the state of Oregon, however only for January 4.

library(lubridate)
library(tidyverse)

coverage <- read_csv(
  file = "data/Output_10_20210108.zip",
  skip = 3) %>% 
  mutate(Date = as.Date(Date, format = "%d.%m.%Y"),
         mth = month(Date)) %>% 
  filter(Region == "Oregon",
         Sex == "b",
         mth == 1) %>% 
  arrange(Date) %>% 
  print(n = Inf)

# A tibble: 33 x 11
   Country Region Code            Date         Age AgeInt Sex     Cases Deaths Tests   mth
   <chr>   <chr>  <chr>           <date>     <dbl>  <dbl> <chr>   <dbl>  <dbl> <lgl> <dbl>
 1 USA     Oregon US_OR04.01.2020 2020-01-04     0     10 b      5505.     0   NA        1
 2 USA     Oregon US_OR04.01.2020 2020-01-04    10     10 b     12562.     0   NA        1
 3 USA     Oregon US_OR04.01.2020 2020-01-04    20     10 b     24968.     2   NA        1
 4 USA     Oregon US_OR04.01.2020 2020-01-04    30     10 b     20933.    13   NA        1
 5 USA     Oregon US_OR04.01.2020 2020-01-04    40     10 b     18616.    27   NA        1
 6 USA     Oregon US_OR04.01.2020 2020-01-04    50     10 b     15220.    93   NA        1
 7 USA     Oregon US_OR04.01.2020 2020-01-04    60     10 b     10112.   214   NA        1
 8 USA     Oregon US_OR04.01.2020 2020-01-04    70     10 b      5970.   373   NA        1
 9 USA     Oregon US_OR04.01.2020 2020-01-04    80     10 b      2871.   387.  NA        1
10 USA     Oregon US_OR04.01.2020 2020-01-04    90     10 b      1679    390.  NA        1
11 USA     Oregon US_OR04.01.2020 2020-01-04   100      5 b        17.6    6.4 NA        1
12 USA     Oregon US_OR05.01.2021 2021-01-05     0     10 b      5545.     0   NA        1
13 USA     Oregon US_OR05.01.2021 2021-01-05    10     10 b     12662.     0   NA        1
14 USA     Oregon US_OR05.01.2021 2021-01-05    20     10 b     25199.     2   NA        1
15 USA     Oregon US_OR05.01.2021 2021-01-05    30     10 b     21101.    13   NA        1
16 USA     Oregon US_OR05.01.2021 2021-01-05    40     10 b     18772.    29   NA        1
17 USA     Oregon US_OR05.01.2021 2021-01-05    50     10 b     15359     98   NA        1
18 USA     Oregon US_OR05.01.2021 2021-01-05    60     10 b     10202.   221   NA        1
19 USA     Oregon US_OR05.01.2021 2021-01-05    70     10 b      6031.   381   NA        1
20 USA     Oregon US_OR05.01.2021 2021-01-05    80     10 b      2902.   397.  NA        1
21 USA     Oregon US_OR05.01.2021 2021-01-05    90     10 b      1696.   402.  NA        1
22 USA     Oregon US_OR05.01.2021 2021-01-05   100      5 b        17.8    6.7 NA        1
23 USA     Oregon US_OR06.01.2021 2021-01-06     0     10 b      5571.     0   NA        1
24 USA     Oregon US_OR06.01.2021 2021-01-06    10     10 b     12726.     0   NA        1
25 USA     Oregon US_OR06.01.2021 2021-01-06    20     10 b     25337.     2   NA        1
26 USA     Oregon US_OR06.01.2021 2021-01-06    30     10 b     21256.    13   NA        1
27 USA     Oregon US_OR06.01.2021 2021-01-06    40     10 b     18898.    29   NA        1
28 USA     Oregon US_OR06.01.2021 2021-01-06    50     10 b     15453.    99   NA        1
29 USA     Oregon US_OR06.01.2021 2021-01-06    60     10 b     10266    224   NA        1
30 USA     Oregon US_OR06.01.2021 2021-01-06    70     10 b      6071.   382   NA        1
31 USA     Oregon US_OR06.01.2021 2021-01-06    80     10 b      2921.   397.  NA        1
32 USA     Oregon US_OR06.01.2021 2021-01-06    90     10 b      1706.   405.  NA        1
33 USA     Oregon US_OR06.01.2021 2021-01-06   100      5 b        17.8    6.8 NA        1

from covid_age.

timriffe avatar timriffe commented on September 28, 2024

fixed!

from covid_age.

Related Issues (20)

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.