Professional Documents
Culture Documents
2013 Red-Breasted Nuthatch Sightings
2013 Red-Breasted Nuthatch Sightings
Kevin Lobo
3/4/2016
library(readr)
library(choroplethrAdmin1)
library(ggplot2)
library(dplyr)
##
## Attaching package: 'dplyr'
## The following object is masked from 'package:MASS':
##
##
select
## The following objects are masked from 'package:stats':
##
##
filter, lag
## The following objects are masked from 'package:base':
##
##
intersect, setdiff, setequal, union
library(choroplethr)
birds <- read.csv("rbn.csv")
birds2013 <- birds %>%
rename(region = AdminRegion, value = NumberByPartyHours) %>%
filter(Year == 2013 & !region %in% c("northwest territories", "alaska"))
admin1_region_choropleth(birds2013,
title = "2013 Red-Breasted Nuthatch Sightings",
legend = "Sightings By Party Hours") + coord_map()