File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,10 @@ plot_28_day_frequency_state <- function(df_to_plot) {
1414 covidcast_signal_to_plot = make_covidcast_signal(states_present , df_to_plot , " state" )
1515
1616 plot(covidcast_signal_to_plot ,
17- title = " State frequency in last 28 days" ,
17+ title = sprintf(
18+ " State frequency in last 28 days (start date: %s)" ,
19+ covidcast_signal_to_plot $ time_value [1 ]
20+ ),
1821 range = c(0 , 28 ))
1922}
2023
@@ -26,7 +29,12 @@ plot_28_day_frequency_county <- function(df_to_plot) {
2629
2730 covidcast_signal_to_plot = make_covidcast_signal(counties_present , df_to_plot , " county" )
2831
29- plot(covidcast_signal_to_plot ,
30- title = " County frequency in last 28 days" ,
31- range = c(0 , 28 ))
32+ plot(
33+ covidcast_signal_to_plot ,
34+ title = sprintf(
35+ " County frequency in last 28 days (start date: %s)" ,
36+ covidcast_signal_to_plot $ time_value [1 ]
37+ ),
38+ range = c(0 , 28 )
39+ )
3240}
You can’t perform that action at this time.
0 commit comments