@@ -2,51 +2,47 @@ library(dplyr)
22library(epidatr )
33library(epiprocess )
44
5- confirmed_7dav_incidence_prop <- covidcast (
6- data_source = " jhu-csse" ,
5+ confirmed_7dav_incidence_prop <- pub_covidcast (
6+ source = " jhu-csse" ,
77 signals = " confirmed_7dav_incidence_prop" ,
88 time_type = " day" ,
99 geo_type = " state" ,
1010 time_values = epirange(20200301 , 20211231 ),
1111 geo_values = " ca,fl,ny,tx,ga,pa"
1212) %> %
13- fetch() %> %
1413 select(geo_value , time_value , case_rate_7d_av = value ) %> %
1514 arrange(geo_value , time_value )
1615
17- deaths_7dav_incidence_prop <- covidcast (
18- data_source = " jhu-csse" ,
16+ deaths_7dav_incidence_prop <- pub_covidcast (
17+ source = " jhu-csse" ,
1918 signals = " deaths_7dav_incidence_prop" ,
2019 time_type = " day" ,
2120 geo_type = " state" ,
2221 time_values = epirange(20200301 , 20211231 ),
2322 geo_values = " ca,fl,ny,tx,ga,pa"
2423) %> %
25- fetch() %> %
2624 select(geo_value , time_value , death_rate_7d_av = value ) %> %
2725 arrange(geo_value , time_value )
2826
29- confirmed_incidence_num <- covidcast (
30- data_source = " jhu-csse" ,
27+ confirmed_incidence_num <- pub_covidcast (
28+ source = " jhu-csse" ,
3129 signals = " confirmed_incidence_num" ,
3230 time_type = " day" ,
3331 geo_type = " state" ,
3432 time_values = epirange(20200301 , 20211231 ),
3533 geo_values = " ca,fl,ny,tx,ga,pa"
3634) %> %
37- fetch() %> %
3835 select(geo_value , time_value , cases = value ) %> %
3936 arrange(geo_value , time_value )
4037
41- confirmed_7dav_incidence_num <- covidcast (
42- data_source = " jhu-csse" ,
38+ confirmed_7dav_incidence_num <- pub_covidcast (
39+ source = " jhu-csse" ,
4340 signals = " confirmed_7dav_incidence_num" ,
4441 time_type = " day" ,
4542 geo_type = " state" ,
4643 time_values = epirange(20200301 , 20211231 ),
4744 geo_values = " ca,fl,ny,tx,ga,pa"
4845) %> %
49- fetch() %> %
5046 select(geo_value , time_value , cases_7d_av = value ) %> %
5147 arrange(geo_value , time_value )
5248
0 commit comments