Compare commits

..

No commits in common. "e2bdd91b6c781ff336151bc9bd0254d6254c64b9" and "05580d4c48855ac71a9d1365155354c9f2e08b40" have entirely different histories.

3 changed files with 5 additions and 8 deletions

7
.gitignore vendored
View File

@ -9,11 +9,8 @@ COVID.py
#ignore all the data files
data/*
#except the population one
!data/co-est2020-alldata.csv
#ignore the figure files
figures/*
#except an example
!figures/select_active_cases.png
#except the population one
!data/co-est2020-alldata.csv

View File

@ -416,12 +416,12 @@ ggsave(filename = "WI_active_cases.png" ,
ggplot() +
geom_line(data = us_county_data %>%
filter(county_state %in% c("Clallam, Washington", "Cook, Illinois", "Milwaukee, Wisconsin", "Dane, Wisconsin", 'Salt Lake, Utah')),
filter(county_state %in% c("Clallam, Washington", "Cook, Illinois", "Milwaukee, Wisconsin", "Dane, Wisconsin", "Alameda, California", 'Salt Lake, Utah')),
aes(x = date,
y = active_estimate,
color = county)) +
geom_label_repel(data = us_county_data %>%
filter(county_state %in% c("Clallam, Washington", "Cook, Illinois", "Milwaukee, Wisconsin", "Dane, Wisconsin", 'Salt Lake, Utah'),
filter(county_state %in% c("Clallam, Washington", "Cook, Illinois", "Milwaukee, Wisconsin", "Dane, Wisconsin", "Alameda, California", 'Salt Lake, Utah'),
date %in% maxdate),
aes(x = date + 0.5,
y = active_estimate,
@ -454,7 +454,7 @@ ggplot() +
plot.subtitle = element_text(color = "grey50"),
plot.caption = element_text(color = "grey50")) +
coord_cartesian(ylim = c(0,NA))
ggsave(filename = "select_active_cases.png" ,
ggsave(filename = "Important_active_cases.png" ,
path = paste(getwd(),"/figures/", sep = ""),
device = "png",
width = 11,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 507 KiB