Description Usage Arguments Value Examples
Downloads a zip file containing a csv from the USDA website, imports it, cleans it and write two new csvs: USDA-tidy.csv containing a tidy dataframe of the data, and USDA-flowsheets.csv containing flowsheet info for the last five years, for importing into Excel.
1 |
url |
Should be a link to the most recent USDA coffee zip file. |
Also returns a dataframe called usda, which is loaded from the usda-tidy.csv using loadUSDA() under the hood.
1 | getUSDA()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.