query_usda: Queries the USDA database

Description Usage Arguments Examples

View source: R/query_usda.R

Description

Runs the query to the USDA database

Usage

1
query_usda(codes, api.key, format = "json")

Arguments

codes

A vector of USDA codes

api.key

A user's API key

format

The format of the data to pull. Defaults to json

Examples

1

swood-ecology/NutrFD documentation built on Nov. 5, 2019, 2:21 p.m.