Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

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()

2013 RedBreasted Nuthatch Sightings

Sightings By Party Hours


[0.0001 to 0.0066)
[0.0066 to 0.0131)
[0.0131 to 0.0409)
[0.0409 to 0.0904)
[0.0904 to 0.1835)
[0.1835 to 0.3335)
[0.3335 to 0.7060]

You might also like