# Historic weather data for hunt units
# Reference some accessible APIs here /datasets/investigate options to gather historic weather data.R

Description

Use the historic data provided by Dark Sky to attach to each unit. We will need to make some basic assumptions to get this started.

Step 1 - Get Unit coordinates

I’ve created a separate script to calculate this

# source(myGMUcoordinatescript)

Step 2 - Get hunt season dates

I’ve created a separate script to populate per CPW

source("~/_code/colorado-dow/datasets/CO rifle elk hunt season dates.R",echo = F)

Step 3 - Connect to Dark Sky and request data

# API key

Step 4 - Attach weather data to Units and Seasons