{"id":165848,"name":"rnassqs","description":"Allows users to access the USDA's National Agricultural Statistics Service Quick Stats data through their API.","url":"https://github.com/ropensci/rnassqs","last_synced_at":"2026-04-29T00:01:19.733Z","repository":{"id":33682821,"uuid":"37335585","full_name":"ropensci/rnassqs","owner":"ropensci","description":"R interface for the USDA National Agricultural Statistical Service's (NASS) 'Quick Stats' API (https://quickstats.nass.usda.gov/api)","archived":false,"fork":false,"pushed_at":"2025-09-22T01:33:46.000Z","size":3921,"stargazers_count":47,"open_issues_count":2,"forks_count":18,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-04-22T21:02:51.992Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/rnassqs","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ropensci.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":".zenodo.json","notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-06-12T17:37:25.000Z","updated_at":"2025-09-22T01:33:50.000Z","dependencies_parsed_at":"2022-09-02T14:23:17.183Z","dependency_job_id":"f3735dca-aa7d-49b5-8fd7-97b972556f06","html_url":"https://github.com/ropensci/rnassqs","commit_stats":{"total_commits":168,"total_committers":9,"mean_commits":"18.666666666666668","dds":"0.11904761904761907","last_synced_commit":"dae85ea1addc53a1e481ea6a5429082b42c02eb8"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/rnassqs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32404340,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"owner":{"login":"ropensci","name":"rOpenSci","uuid":"1200269","kind":"organization","description":"","email":"info@ropensci.org","website":"https://ropensci.org/","location":"Berkeley, CA","twitter":"rOpenSci","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1200269?v=4","repositories_count":307,"last_synced_at":"2023-03-10T20:30:59.242Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ropensci","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T19:23:08.224Z","updated_at":"2023-03-10T20:30:59.305Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci/repositories"},"packages":[{"id":11733593,"name":"github.com/ropensci/rnassqs","ecosystem":"go","description":null,"homepage":null,"licenses":"other","normalized_licenses":["Other"],"repository_url":"https://github.com/ropensci/rnassqs","keywords_array":[],"namespace":null,"versions_count":6,"first_release_published_at":"2017-03-28T22:07:54.000Z","latest_release_published_at":"2019-11-08T00:02:37.000Z","latest_release_number":"v0.6.1","last_synced_at":"2026-04-24T22:00:27.114Z","created_at":"2025-06-05T11:17:26.284Z","updated_at":"2026-04-24T22:00:27.115Z","registry_url":"https://pkg.go.dev/github.com/ropensci/rnassqs","install_command":"go get github.com/ropensci/rnassqs","documentation_url":"https://pkg.go.dev/github.com/ropensci/rnassqs#section-documentation","metadata":{},"repo_metadata":{"id":33682821,"uuid":"37335585","full_name":"ropensci/rnassqs","owner":"ropensci","description":"R interface for the USDA National Agricultural Statistical Service's (NASS) 'Quick Stats' API (https://quickstats.nass.usda.gov/api)","archived":false,"fork":false,"pushed_at":"2025-09-22T01:33:46.000Z","size":3921,"stargazers_count":47,"open_issues_count":1,"forks_count":18,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-09-22T07:02:27.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/rnassqs","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ropensci.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":".zenodo.json"}},"created_at":"2015-06-12T17:37:25.000Z","updated_at":"2025-09-22T01:33:50.000Z","dependencies_parsed_at":"2022-09-02T14:23:17.183Z","dependency_job_id":"f3735dca-aa7d-49b5-8fd7-97b972556f06","html_url":"https://github.com/ropensci/rnassqs","commit_stats":{"total_commits":168,"total_committers":9,"mean_commits":"18.666666666666668","dds":"0.11904761904761907","last_synced_commit":"dae85ea1addc53a1e481ea6a5429082b42c02eb8"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/rnassqs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276407250,"owners_count":25637014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-22T02:00:08.972Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"ropensci","name":"rOpenSci","uuid":"1200269","kind":"organization","description":"","email":"info@ropensci.org","website":"https://ropensci.org/","location":"Berkeley, CA","twitter":"rOpenSci","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1200269?v=4","repositories_count":307,"last_synced_at":"2023-03-10T20:30:59.242Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ropensci","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T19:23:08.224Z","updated_at":"2023-03-10T20:30:59.305Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci/repositories"},"tags":[{"name":"v0.6.1","sha":"535ab86c8735c8f038babf1df8d265b3842b7802","kind":"commit","published_at":"2019-11-08T00:02:37.000Z","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/v0.6.1","html_url":"https://github.com/ropensci/rnassqs/releases/tag/v0.6.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ropensci/rnassqs@v0.6.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.6.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.6.1/manifests"},{"name":"v0.6.0","sha":"a9eafb8854d129a63d7925d2f40a7197b3e544e0","kind":"commit","published_at":"2019-11-07T23:35:10.000Z","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/v0.6.0","html_url":"https://github.com/ropensci/rnassqs/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ropensci/rnassqs@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"4354b9f98c4033fb08dd4574f2937783ec998a69","kind":"commit","published_at":"2019-08-16T19:17:49.000Z","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/v0.5.0","html_url":"https://github.com/ropensci/rnassqs/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ropensci/rnassqs@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"585869f9ed637d17a0786395ec601a1df3612a5b","kind":"commit","published_at":"2019-05-02T17:55:04.000Z","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/v0.4.0","html_url":"https://github.com/ropensci/rnassqs/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ropensci/rnassqs@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.4.0/manifests"},{"name":"v0.2.0","sha":"ee98b8f2739bb3600a694ce2c723d95fd257fd93","kind":"commit","published_at":"2017-12-18T02:13:12.000Z","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/v0.2.0","html_url":"https://github.com/ropensci/rnassqs/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ropensci/rnassqs@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.2.0/manifests"},{"name":"v0.0.1","sha":"52cf935a6db608aeb31f5e24dddd0ce5710c10d6","kind":"commit","published_at":"2017-03-28T22:07:54.000Z","download_url":"https://codeload.github.com/ropensci/rnassqs/tar.gz/v0.0.1","html_url":"https://github.com/ropensci/rnassqs/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/ropensci/rnassqs@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2025-10-06T20:05:47.247Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":5.757538697138725,"dependent_packages_count":5.395053785167736,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":5.57629624115323},"purl":"pkg:golang/github.com/ropensci/rnassqs","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/ropensci/rnassqs","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/ropensci/rnassqs","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/ropensci/rnassqs/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-09-29T00:30:32.488Z","issues_count":30,"pull_requests_count":12,"avg_time_to_close_issue":24997067.931034483,"avg_time_to_close_pull_request":2812734.5833333335,"issues_closed_count":29,"pull_requests_closed_count":12,"pull_request_authors_count":8,"issue_authors_count":13,"avg_comments_per_issue":2.2,"avg_comments_per_pull_request":1.25,"merged_pull_requests_count":12,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":11078679.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":2,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/issues","maintainers":[{"login":"potterzot","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/potterzot"},{"login":"maelle","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/maelle"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fropensci%2Frnassqs/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fropensci%2Frnassqs/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fropensci%2Frnassqs/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fropensci%2Frnassqs/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fropensci%2Frnassqs/codemeta","maintainers":[],"registry":{"name":"proxy.golang.org","url":"https://proxy.golang.org","ecosystem":"go","default":true,"packages_count":2107868,"maintainers_count":0,"namespaces_count":782439,"keywords_count":112823,"github":"golang","metadata":{"funded_packages_count":53495},"icon_url":"https://github.com/golang.png","created_at":"2022-04-04T15:19:22.939Z","updated_at":"2026-04-19T05:14:45.920Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages","maintainers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/maintainers","namespaces_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/namespaces"}}],"commits":{"id":1462493,"full_name":"ropensci/rnassqs","default_branch":"main","total_commits":171,"total_committers":10,"total_bot_commits":0,"total_bot_committers":0,"mean_commits":17.1,"dds":0.1228070175438597,"past_year_total_commits":3,"past_year_total_committers":2,"past_year_total_bot_commits":0,"past_year_total_bot_committers":0,"past_year_mean_commits":1.5,"past_year_dds":0.33333333333333337,"last_synced_at":"2026-04-26T23:01:38.529Z","last_synced_commit":"217db401ab9ffb84ec5f17d3fc1826944d09f39f","created_at":"2024-01-04T00:17:11.221Z","updated_at":"2026-04-26T23:01:10.997Z","committers":[{"name":"Nicholas Potter","email":"potterzot@gmail.com","login":"potterzot","count":150},{"name":"Neal Richardson","email":"neal.p.richardson@gmail.com","login":"nealrichardson","count":7},{"name":"jsta","email":"stachel2@msu.edu","login":"jsta","count":5},{"name":"Robert Dinterman","email":"robert.dinterman@gmail.com","login":"rdinter","count":2},{"name":"Nicholas Potter","email":"101131077+npotterERS","login":"npotterERS","count":2},{"name":"jpiaskowski","email":"julia.piask@gmail.com","login":"jpiaskowski","count":1},{"name":"Jonathan Adams","email":"jd.adams16@gmail.com","login":"PieceMaker","count":1},{"name":"Emrah Er","email":"emraher","login":"emraher","count":1},{"name":"Austin Pearce","email":"apearce@fieldtomarket.org","login":"austinwpearce","count":1},{"name":"austinwpearce","email":"austinwpearce@gmail.com","login":null,"count":1}],"past_year_committers":[{"name":"Nicholas Potter","email":"477294+potterzot","login":"potterzot","count":2},{"name":"Austin Pearce","email":"apearce@fieldtomarket.org","login":"austinwpearce","count":1}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-29T00:00:10.453Z","repositories_count":6221788,"commits_count":900191210,"contributors_count":34900001,"owners_count":1146921,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"ropensci/rnassqs","html_url":"https://github.com/ropensci/rnassqs","last_synced_at":"2026-04-08T14:02:02.733Z","status":"error","issues_count":31,"pull_requests_count":12,"avg_time_to_close_issue":24997067.931034483,"avg_time_to_close_pull_request":2812734.5833333335,"issues_closed_count":29,"pull_requests_closed_count":12,"pull_request_authors_count":8,"issue_authors_count":14,"avg_comments_per_issue":2.225806451612903,"avg_comments_per_pull_request":1.25,"merged_pull_requests_count":12,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":1,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":11078679.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":1,"past_year_avg_comments_per_issue":3.0,"past_year_avg_comments_per_pull_request":1.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":2,"created_at":"2024-01-04T00:17:18.952Z","updated_at":"2026-04-08T14:02:02.733Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Frnassqs/issues","issue_labels_count":{"enhancement":10,"help wanted":1,"bug":1},"pull_request_labels_count":{},"issue_author_associations_count":{"CONTRIBUTOR":18,"NONE":12,"MEMBER":1},"pull_request_author_associations_count":{"CONTRIBUTOR":9,"COLLABORATOR":2,"NONE":1},"issue_authors":{"potterzot":16,"sheilasaia":2,"wenlong-liu":2,"brandco":1,"PieceMaker":1,"maelle":1,"dwd62":1,"mjdoughty":1,"jdeines":1,"danielreispereira":1,"rsmiller74":1,"rdinter":1,"lindblb":1,"RafaRafa":1},"pull_request_authors":{"potterzot":3,"austinwpearce":3,"PieceMaker":1,"jsta":1,"rdinter":1,"jpiaskowski":1,"emraher":1,"nealrichardson":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-04-24T00:00:07.455Z","repositories_count":14385294,"issues_count":34445140,"pull_requests_count":112808841,"authors_count":11244340,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{},"past_year_pull_request_labels_count":{},"past_year_issue_author_associations_count":{"NONE":1},"past_year_pull_request_author_associations_count":{"CONTRIBUTOR":1,"NONE":1},"past_year_issue_authors":{"mjdoughty":1},"past_year_pull_request_authors":{"austinwpearce":2},"maintainers":[{"login":"potterzot","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/potterzot"},{"login":"maelle","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/maelle"}],"active_maintainers":[]},"events":{"total":{"PullRequestEvent":2,"ForkEvent":1,"WatchEvent":4,"IssueCommentEvent":2,"PushEvent":2},"last_year":{"PullRequestEvent":2,"IssueCommentEvent":2,"PushEvent":2}},"keywords":[],"dependencies":[{"ecosystem":"cran","filepath":"DESCRIPTION","sha":null,"kind":"manifest","created_at":"2022-09-02T14:23:17.112Z","updated_at":"2022-09-02T14:23:17.112Z","repository_link":"https://github.com/ropensci/rnassqs/blob/main/DESCRIPTION","dependencies":[{"id":3609716178,"package_name":"httr","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":3609716179,"package_name":"jsonlite","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":3609716180,"package_name":"stats","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":3609716181,"package_name":"utils","ecosystem":"cran","requirements":"*","direct":true,"kind":"imports","optional":false},{"id":3609716182,"package_name":"here","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":3609716183,"package_name":"httptest","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":3609716184,"package_name":"knitr","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":3609716185,"package_name":"rmarkdown","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false},{"id":3609716186,"package_name":"testthat","ecosystem":"cran","requirements":"*","direct":true,"kind":"suggests","optional":false}]}],"score":null,"created_at":"2024-01-04T00:05:10.086Z","updated_at":"2026-04-29T00:01:19.735Z","avatar_url":"https://github.com/ropensci.png","language":"R","category":"Consumption","sub_category":"Agriculture and Nutrition","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"---\noutput:\n  md_document:\n    variant: gfm\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n\n\u003ctable class=\"table\"\u003e\n\u003cthead\u003e\n\u003ctr class=\"header\"\u003e\n\u003cth align=\"left\"\u003e\nrnassqs\n\u003c/th\u003e\n\u003cth align=\"left\"\u003e\nUsage\n\u003c/th\u003e\n\u003cth align=\"left\"\u003e\nRelease\n\u003c/th\u003e\n\u003cth align=\"left\"\u003e\nDevelopment\n\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\n\u003ctr class=\"odd\"\u003e\n\u003ctd rowspan=\"5\"\u003e\n\u003ca href=\"https://docs.ropensci.org/rnassqs/\"\u003e\u003cimg src=\"man/figures/logo.png\" alt=\"rnassqs\" align=\"right\" height=\"139\"\u003e\u003c/a\u003e\n\u003cp style=\"font-size:xx-small;\"\u003e(Wheat image from \u003ca href=\"https://www.flickr.com/photos/53018729@N00/2669034542\"\u003ehere\u003c/a\u003e.)\u003c/p\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://choosealicense.com/licenses/mit/\"\u003e\u003cimg src=\"https://img.shields.io/github/license/mashape/apistatus.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://cran.r-project.org/package=rnassqs\"\u003e\u003cimg src=\"https://www.r-pkg.org/badges/version-last-release/rnassqs\" alt=\"CRAN\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://github.com/ropensci/rnassqs/commits/main\"\u003e\u003cimg src=\"https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-brightgreen.svg\" alt=\"Last Change\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr class=\"even\"\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://CRAN.R-project.org/package=rnassqs\"\u003e\u003cimg src=\"https://cranlogs.r-pkg.org/badges/rnassqs\" alt=\"downloads\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://zenodo.org/badge/latestdoi/37335585\"\u003e\u003cimg src=\"https://zenodo.org/badge/37335585.svg\" alt=\"Zenodo\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://github.com/ropensci/rnassqs/actions/workflows/R-CMD-check.yaml\"\u003e\u003cimg src=\"https://github.com/ropensci/rnassqs/actions/workflows/R-CMD-check.yaml/badge.svg\" alt=\"R CMD Check\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\u003ctd align=\"left\"\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://github.com/ropensci/software-review/issues/298\" alt=\"rOpensci reviewed!\"\u003e\u003cimg src=\"https://badges.ropensci.org/298_status.svg\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://app.codecov.io/gh/ropensci/rnassqs?branch=main\"\u003e\u003cimg src=\"https://codecov.io/gh/ropensci/rnassqs/branch/main/graph/badge.svg\" alt=\"Codecov test status\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr class=\"even\"\u003e\n\u003ctd align=\"left\"\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://orcid.org/0000-0002-3410-3732\"\u003e\u003cimg src=\"https://img.shields.io/badge/ORCiD-0000--0002--3410--3732-green.svg\" alt=\"ORCID\"\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://www.repostatus.org/#active\"\u003e\u003cimg src=\"https://www.repostatus.org/badges/latest/active.svg\" alt=\"Project Status: Active – The project has reached a stable, usable state and is being actively developed.\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr class=\"even\"\u003e\n\u003ctd align=\"left\"\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca style=\"border-width:0\" href=\"https://joss.theoj.org/papers/10.21105/joss.01880\"\u003e\n  \u003cimg src=\"https://joss.theoj.org/papers/10.21105/joss.01880/status.svg\" alt=\"DOI:10.21105/joss.01880\" \u003e\n\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003ca href=\"https://lifecycle.r-lib.org/articles/stages.html#maturing\"\u003e\u003cimg src=\"https://img.shields.io/badge/lifecycle-maturing-blue.svg\" alt=\"Project Status: Maturing.\" /\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr class=\"odd\"\u003e\n\u003ctd align=\"left\"\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003c/td\u003e\n\u003ctd align=\"left\"\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003cbr\u003e\n\n\n__As required by the NASS Terms of Use: This product uses the NASS API but is not endorsed or certified by NASS.__\n\n\n## rnassqs (R NASS Quick Stats)\n\n`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.\n\nFor docs and code examples, visit the package web page here: [https://docs.ropensci.org/rnassqs/](https://docs.ropensci.org/rnassqs/).\n\n## Installing\n\nInstall the package via `devtools` or CRAN:\n\n```{r eval=FALSE}\n    # Via devtools\n    library(devtools)\n    install_github('ropensci/rnassqs')\n    \n    # Via CRAN\n    install.packages(\"rnassqs\")\n```\n\n## API Key\n\nTo 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:\n\n```{r eval=FALSE}\n    NASSQS_TOKEN=\"\u003cyour api key here\u003e\"\n```\n\nAlternatively, you can set it explicitly in the console with `nassqs_auth(key = \u003cyour api key\u003e)`. This will set the environmental variable NASSQS_TOKEN, which is used to access the API. You can also set this directly with `Sys.setenv(\"NASSQS_TOKEN\" = \u003cyour api key\u003e)`. \n\n## Usage\n\nSee the examples in [inst/examples](inst/examples) for quick recipes to download data.\n\nThe primary function is `nassqs()`, with which you can make any query of variables. \nFor example, to mirror the request that is on the [NASS API documentation](https://quickstats.nass.usda.gov/api/), you can use:\n\n```{r eval=FALSE}\n    library(rnassqs)\n    \n    # You must set your api key before requesting data\n    nassqs_auth(key = \u003cyour api key\u003e)\n    \n    # Parameters to query on and data call\n    params \u003c- list(commodity_desc = \"CORN\", year__GE = 2012, state_alpha = \"VA\")\n    d \u003c- nassqs(params)\n```\n\nParameters __do not__ need to be capitalized, and also do not need to be in a list format. The following works just as well:\n\n```{r eval=FALSE}\n    d \u003c- nassqs(commodity_desc = \"corn\", year__GE = 2012, state_alpha = \"va\")\n```\n\nYou can request data for multiple values of the same parameter by using a simple list as follows:\n    \n```{r eval=FALSE}\n    params \u003c- list(commodity_desc = \"CORN\", year__GE = 2012, state_alpha = c(\"VA\", \"WA\"))\n    d \u003c- nassqs(params)\n```\n\nNASS does not allow GET requests that pull more than 50,000 records in one request. The function will inform you if you try to do that. It will also inform you if you've requested a set of parameters for which there are no records. NASS also limits the rate of requests. `rnassqs` will automatically adjust requests to limit the rate it needed, and return an error if the adjustment fails.\n\nOther useful functions include:\n\n```{r eval=FALSE}\n    # returns a set of unnique values for the parameter \"STATISTICCAT_DESC\"\n    nassqs_param_values(\"statisticcat_desc\")\n    \n    # returns a count of the number of records for a given query\n    nassqs_record_count(params=params)\n    \n    # Get yields specifically\n    # Equivalent to including \"'statisticat_desc' = 'YIELD'\" in your parameter list. \n    nassqs_yields(params)\n    \n    # Get acres specifically\n    # Equivalent to including all \"AREA\" values in statisticcat_desc\n    nassqs_acres(params)\n    \n    # Specifies just \"AREA HARVESTED\" values of statisticcat_desc\n    nassqs_acres(params, area = \"AREA HARVESTED\")\n```\n\n\n### Handling inequalities and operators other than \"=\"\nThe NASS API handles other operators by modifying the variable name. The API can accept the following modifications:\n\n* __LE: \u003c= \n* __LT: \u003c \n* __GT: \u003e \n* __GE: \u003e= \n* __LIKE: like \n* __NOT_LIKE: not like \n* __NE: not equal \n\nFor example, to request corn yields in Virginia and Pennsylvania for all years since 2000, you would use something like:\n\n```{r eval=FALSE}\n    params \u003c- list(commodity_desc = \"CORN\", \n                  year__GE = 2000, \n                  state_alpha = c(\"VA\", \"PA\"), \n                  statisticcat_desc = \"YIELD\")\n    df \u003c- nassqs(params) #returns data as a data frame.\n```\n\nSee the [vignette](https://docs.ropensci.org/rnassqs/articles/rnassqs.html) for more examples and details on usage.\n\n## Contributing\n\nContributions are more than welcome, and there are several ways to contribute:\n\n- Examples: More examples are always helpful. If you use `rnassqs` to query data from 'Quick Stats' and would like to contribute your query, consider submitting a pull request adding your query as a file in [inst/examples/](https://github.com/ropensci/rnassqs/tree/main/inst/examples).\n- File an issue: If there is functionality you'd like to see added or something that is confusing, consider [creating an issue](https://github.com/ropensci/rnassqs/issues/new). The best issue contains an example of the problem or feature. Consider the excellent package [reprex](https://github.com/tidyverse/reprex) in creating a reproducible example.\n- Contributing documentation: Clarifying and expanding the documentation is always appreciated, especially if you find an area that is lacking and would like to improve it. `rnassqs` uses roxygen2, which means the documentation is at the top of each function definition. Please submit any improvements as a pull request.\n- Contributing code: if you see something that needs improving and you'd like to make the changes, contributed code is very welcome. Begin by filing a new issue to discuss the proposed change, and then submit a pull request to address the issue. `rnassqs` follows the style outlined in Hadley Wickham's [R Packages](https://r-pkgs.org/code.html#code-style). Following this style makes the pull request and review go more smoothly.\n\n\n## Alternatives\n\nIn June 2019 the `usdarnass` package was released on [CRAN](https://cran.r-project.org/package=usdarnass) and is also available to install via [github](https://github.com/rdinter/usdarnass). `usdarnass` has similar functionality to this package.\n\nNASS also provides a daily tarred and gzipped file of their entire dataset. At the time of writing it is approaching 1 GB. You can download that file via their [data site](https://www.nass.usda.gov/datasets/).\n\nThe FTP link also contains builds for: NASS census (every 5 years ending with 2 and 7), or data for one of their specific sectors (CROPS, ECONOMICS, ANIMALS \u0026 PRODUCTS). At the time of this writing, specific files for the ENVIRONMENTAL and DEMOGRAPHICS sectors are not available.\n\n\n\n\n### Acknowledgments\n\nThank you to rOpensci reviewers Adam Sparks and Neal Richardson and editor Lincoln Mullen, for their fantastic feedback and assistance. User feedback and use case contributions have been a huge help to make `rnassqs` more accessible and user-friendly. More use cases or feature requests are always welcome!\n\n[![ropensci_footer](https://ropensci.org/public_images/ropensci_footer.png)](https://ropensci.org)\n\n\n```{r, echo = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\n\n","funding_links":[],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["climate","noaa","noaa-data"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/165848","html_url":"https://ost.ecosyste.ms/projects/165848"}