Bee Colonies and Climate—A Data Project

Photo by Dmitry Grigoriev on Unsplash

Combine Data on Bee Colonies and Climate

Project Description:

This coding project was originally a part of a larger team project whose goal was to establish relationships among variables related to bee colony losses, bee colony stressors, and climate.

The data describing bee colonies come from the Bee Colonies dataset from TidyTuesday. This source has two datasets – related to colonies and stressors. The stressor dataset has 5 variables and 7,332 observations.

Climate data come from the National Climatic Data Center using API through the rnoaa package, an R interface to NOAA climate data.

The code uses rnoaa to download, transform, and merge data so that the temperature, precipitation, and bee colony stressor types and effects for all 50 states (if applicable) and all quarters of the years 2015-2021 are present in one final dataset called stressor_climate.csv.

The Dataset:

The dataset is here.

The Code:

To see how to obtain and combine the two datasets, check out my code on GitHub.

Paweł Rybacki
Paweł Rybacki
Economics Researcher and Data Analyst

UChicago MAPSS ‘22. Harvard Economics ‘21.