download_crops: Request crop data (seed_harvest_wide) from Snowflake within a...

View source: R/download_crops.R

download_cropsR Documentation

Request crop data (seed_harvest_wide) from Snowflake within a certain season range

Description

Request crop data (seed_harvest_wide) from Snowflake within a certain season range

Usage

download_crops(conn, gdd_info_formatted, min_year = NA, max_year = NA)

Arguments

conn

The connection to the Snowflake database

min_year

Minimum crop season year to pull from. Defaults to NA (pull all years)

max_year

Maximum crop season year to pull from. Defaults to NA (pull all years)

Value

The seed_harvest_df data frame.

Examples

seed_harvest_wide <- download_crops(myconn, min_year=2020, max_year=2022)

BYUIDSconsulting/weatheR documentation built on Nov. 21, 2022, 9:08 p.m.