You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# altrep/faster read_csv has been broken for me for some time; readr::local_edition(1)
# i like to use proper types when reading in data from CSVs
cols(
date= col_date(format=""),
water= col_character(),
muni= col_character(),
species= col_character(),
qty= col_double(),
size= col_double(),
county= col_character()
) ->stocking_colsxdf<- read_csv("./data/stocking-report.csv", col_types=stocking_cols)
xdf|>
count(year, county) |>
ggplot() +
geom_col(
aes(year, n)
) +
scale_x_continuous(
breaks= sort(unique(xdf$year))
) +
facet_wrap(~county, scales="free_x") +
labs(
x=NULL, y=NULL,
title="Maine Dept of Inland Fisheries and Wildlife Has a Consistent Annual Fish Stocking Pattern",
subtitle="Each facet shows the number of fish stocking events per-year for a given Maine county",
caption="Source: https://www.maine.gov/ifw/fishing-boating/fishing/fish-stocking-report.html"
) +
theme_ipsum_es(grid="Y")
When does stocking occur and is that consistent across years?