Getting BBS Data into R

I like to start with a clean slate. Set your working directory to wherever you store your BBS, etc. files that will go into the script. rm(list = ls()) setwd(“”) Here, you need to put the full path to the BBS files. library(data.table) BBS <- rbindlist(lapply(list.files(“”,full.names=TRUE),read.csv)) This following line creates a unique identifier for each […]

Continue reading..Getting BBS Data into R

BBS Data Summarized for 10 Stops

If you want to use the finer-scale BBS data, here’s a tweak to the R code I presented. In this case, you won’t want the SpeciesTotal, country number (perhaps, otherwise add it it to the ID variables) or StopTotal (again, I assume). BBS$countrynum <- NULL BBS$SpeciesTotal <- NULL BBS$StopTotal <- NULL Then, you’re going to […]

Continue reading..BBS Data Summarized for 10 Stops