rnassqs
Allows users to access the USDA's National Agricultural Statistics Service Quick Stats data through their API.
https://github.com/ropensci/rnassqs
Category: Consumption
Sub Category: Agriculture and Nutrition
Last synced: about 21 hours ago
JSON representation
Repository metadata
R interface for the USDA National Agricultural Statistical Service's (NASS) 'Quick Stats' API (https://quickstats.nass.usda.gov/api)
- Host: GitHub
- URL: https://github.com/ropensci/rnassqs
- Owner: ropensci
- License: other
- Created: 2015-06-12T17:37:25.000Z (almost 10 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T23:16:15.000Z (8 months ago)
- Last Synced: 2025-04-22T07:46:11.600Z (6 days ago)
- Language: R
- Homepage: https://docs.ropensci.org/rnassqs
- Size: 3.66 MB
- Stars: 47
- Watchers: 6
- Forks: 18
- Open Issues: 1
- Releases: 6
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codemeta: codemeta.json
- Zenodo: .zenodo.json
README.Rmd
--- output: md_document: variant: gfm ---
rnassqs | Usage | Release | Development |
---|---|---|---|
![]() (Wheat image from here.) |
|
|
|
|
|
|
|
|
|
||
|
|
||
|
|
||
__As required by the NASS Terms of Use: This product uses the NASS API but is not endorsed or certified by NASS.__ ## rnassqs (R NASS Quick Stats) `rnassqs` allows users to access the USDA's National Agricultural Statistics Service (NASS) Quick Stats data through their API. It is simple and easy to use, and provides some functions to help navigate the bewildering complexity of some Quick Stats data. For docs and code examples, visit the package web page here: [https://docs.ropensci.org/rnassqs/](https://docs.ropensci.org/rnassqs/). ## Installing Install the package via `devtools` or CRAN: ```{r eval=FALSE} # Via devtools library(devtools) install_github('ropensci/rnassqs') # Via CRAN install.packages("rnassqs") ``` ## API Key To use the NASS Quick Stats API you need an [API key](https://quickstats.nass.usda.gov/api/). The API key should in general not be included in scripts. One way of making the key available without defining it in a script is by setting it in your `.Renviron` file, which is usually located in your home directory. If you are an `rstudio` user, you can use `usethis::edit_r_environ()` to open your `.Renviron` file and add a line that looks like: ```{r eval=FALSE} NASSQS_TOKEN="
Owner metadata
- Name: rOpenSci
- Login: ropensci
- Email: [email protected]
- Kind: organization
- Description:
- Website: https://ropensci.org/
- Location: Berkeley, CA
- Twitter: rOpenSci
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1200269?v=4
- Repositories: 307
- Last ynced at: 2023-03-10T20:30:59.242Z
- Profile URL: https://github.com/ropensci
GitHub Events
Total
- Watch event: 4
- Fork event: 1
Last Year
- Watch event: 4
- Fork event: 1
Committers metadata
Last synced: 7 days ago
Total Commits: 168
Total Committers: 9
Avg Commits per committer: 18.667
Development Distribution Score (DDS): 0.119
Commits in past year: 5
Committers in past year: 1
Avg Commits per committer in past year: 5.0
Development Distribution Score (DDS) in past year: 0.0
Name | Commits | |
---|---|---|
Nicholas Potter | p****t@g****m | 148 |
Neal Richardson | n****n@g****m | 7 |
jsta | s****2@m****u | 5 |
Robert Dinterman | r****n@g****m | 2 |
Nicholas Potter | 1****S | 2 |
austinwpearce | a****e@g****m | 1 |
jpiaskowski | j****k@g****m | 1 |
Emrah Er | e****r | 1 |
Jonathan Adams | j****6@g****m | 1 |
Committer domains:
- msu.edu: 1
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 57
Total pull requests: 17
Average time to close issues: 10 months
Average time to close pull requests: 16 days
Total issue authors: 13
Total pull request authors: 8
Average comments per issue: 2.23
Average comments per pull request: 1.53
Merged pull request: 17
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: about 5 hours
Past year issue authors: 0
Past year pull request authors: 1
Past year average comments per issue: 0
Past year average comments per pull request: 0.0
Past year merged pull request: 1
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- potterzot (31)
- sheilasaia (4)
- wenlong-liu (4)
- brandco (2)
- PieceMaker (2)
- maelle (2)
- jdeines (2)
- rsmiller74 (2)
- rdinter (2)
- lindblb (2)
- RafaRafa (2)
- dwd62 (1)
- danielreispereira (1)
Top Pull Request Authors
- potterzot (3)
- PieceMaker (2)
- jpiaskowski (2)
- emraher (2)
- nealrichardson (2)
- jsta (2)
- austinwpearce (2)
- rdinter (2)
Top Issue Labels
- enhancement (20)
- bug (2)
- help wanted (2)
Top Pull Request Labels
Dependencies
- httr * imports
- jsonlite * imports
- stats * imports
- utils * imports
- here * suggests
- httptest * suggests
- knitr * suggests
- rmarkdown * suggests
- testthat * suggests
Score: 6.068425588244111