Code
CAINC1 %>%
group_by(GeoFIPS, GeoName) %>%
summarise(Nobs = n()) %>%
head(10) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}Data - BEA
CAINC1 %>%
group_by(GeoFIPS, GeoName) %>%
summarise(Nobs = n()) %>%
head(10) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F) else .}CAINC1 %>%
filter(GeoFIPS == "04013",
LineCode == 1) %>%
select(date, income = value) %>%
ggplot() + geom_line(aes(x = date, y = income)) +
theme_minimal() + xlab("") + ylab("") 
CAINC1 %>%
filter(GeoFIPS == "04013",
LineCode == 3) %>%
select(Description, Unit, date, value) %>%
ggplot() + geom_line(aes(x = date, y = value)) +
theme_minimal() + xlab("") + ylab("") 