A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Recent Releases of rnassqs

rnassqs - Ag Land, Incl Buildings - Revised

Previous release JOSS submission included citations with errors. Citations were not needed so they are dropped in this release.

Consumption - Agriculture and Nutrition - R
Published by potterzot over 5 years ago

rnassqs - Ag Land, Incl Buildings

Update for JOSS submission, and include a feature request to get valid values of a parameter based on a set of query criteria. For example, user can now query the valid parameters for commodity_desc for a specific county and year instead of for all geographies and years.

Consumption - Agriculture and Nutrition - R
Published by potterzot over 5 years ago

rnassqs - Ducks - Operations with Sales

This release incorporates improvements to usability and documentation resulting from the rOpensci review process, including:

Queries no longer require listing

Queries can be made both by passing a list of parameters or the parameters themselves directly. These two queries are equivalent:

# Method 1: specify query parameters as function arguments
rnassqs::nassqs(commodity="APPLES", year__GE = 2012)

# Method 2: specify a list of parameters as a single function argument
params <- list(commodity = "APPLES", year__GE = 2012)
rnassqs::nassqs(params)

Key management is much simplified

Previously rnassqs managed keys in an unnecessarily complicated way. Now the package simply checks if the NASSQS_TOKEN environmental variable is set, and if not suggests how to set it.

Documentation improvements

Many changes to the Getting Started vignette and to function documentation should improve ease of use.

Consumption - Agriculture and Nutrition - R
Published by potterzot over 5 years ago

rnassqs - Corn Yields

rnassqs 0.4.0

  • Add automated unit tests that work locally and others that work on CRAN.
  • Improve documentation for core functions.
  • Add parsing for CSV formatted data.
  • Improve authentication.
  • Simplify function calls to eliminate redundant calls.
  • Add working examples and tests.
  • fix name error in the function nassqs_params_values to nassqs_param_values

Consumption - Agriculture and Nutrition - R
Published by potterzot almost 6 years ago

rnassqs - Fuzzy Slippers

This release standardizes some terminology and adds some examples, while also cleaning up some of the documentation.

Consumption - Agriculture and Nutrition - R
Published by potterzot over 7 years ago

rnassqs - rnassqs release 0.0.1

R library to interface with the USDA NASS Quickstats API.

Date: Monday, July 10, 2017

Requirements

  • R >= 3.0
  • httr
  • jsonlite

Installation

Install with:

library(devtools)
install_github('potterzot/rnassqs')

Consumption - Agriculture and Nutrition - R
Published by potterzot almost 8 years ago