Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #58

Merged
merged 6 commits into from
May 4, 2022
Merged

Dev #58

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@
^revdep$
^codecov\.yml$
^\.github$
^_pkgdown\.yml$
^CRAN-SUBMISSION$
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- master
- dev
pull_request:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
branches:
- main
- master
- dev

name: pkgdown

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
branches:
- main
- master
- dev
pull_request:
branches:
- main
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ doc
Meta
/doc/
/Meta/
docs
3 changes: 3 additions & 0 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Version: 0.4.0
Date: 2022-05-01 19:22:33 UTC
SHA: 2ce5ec913e80e108564d6aba295cfe32b4bcfc6c
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Type: Package
Package: tidyUSDA
Title: A Minimal Tool Set for Gathering USDA Quick Stat Data for Analysis
and Visualization
Version: 0.3.3.9000
Version: 0.4.0.9000
Authors@R: c(
person("Brad", "Lindblad", , "[email protected]", role = c("aut", "cre")),
person("Michael", "Thomas", , "[email protected]", role = "ctb"),
Expand Down Expand Up @@ -31,7 +31,6 @@ Suggests:
covr,
knitr,
nlme,
rgdal,
rgeos,
rmarkdown,
spelling,
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# tidyUSDA (development version)


# tidyUSDA 0.4.0
* Added more verbose error messages if your parameters are rejected by the API

Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
usethis

# tidyUSDA <img src='https://raw.githubusercontent.com/bradlindblad/tidyUSDA/master/images/tidyusda.png' align="right" height="200" />

[![R build status](https://github.com/bradlindblad/tidyUSDA/workflows/R-CMD-check/badge.svg)](https://github.com/bradlindblad/tidyUSDA/actions)
[![CRAN status](https://www.r-pkg.org/badges/version/tidyUSDA)](https://CRAN.R-project.org/package=tidyUSDA)
[![metacran downloads](https://cranlogs.r-pkg.org/badges/grand-total/tidyUSDA)](https://cran.r-project.org/package=tidyUSDA)
[![minimal R version](https://img.shields.io/badge/R%3E%3D-3.6.1-6666ff.svg)](https://cran.r-project.org/)
[![pkgdown](https://github.com/bradlindblad/tidyUSDA/actions/workflows/pkgdown.yaml/badge.svg?branch=master)](https://github.com/bradlindblad/tidyUSDA/actions/workflows/pkgdown.yaml)
[![Codecov test coverage](https://codecov.io/gh/bradlindblad/tidyusda/branch/master/graph/badge.svg)](https://app.codecov.io/gh/bradlindblad/tidyusda?branch=master)
[![metacran downloads](https://cranlogs.r-pkg.org/badges/grand-total/tidyUSDA)](https://cran.r-project.org/package=tidyUSDA)
[![lifecycle](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![pkgdown](https://github.com/bradlindblad/tidyUSDA/actions/workflows/pkgdown.yaml/badge.svg?branch=master)](https://github.com/bradlindblad/tidyUSDA/actions/workflows/pkgdown.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/tidyUSDA)](https://CRAN.R-project.org/package=tidyUSDA)
[![minimal R version](https://img.shields.io/badge/R%3E%3D-3.6.1-6666ff.svg)](https://cran.r-project.org/)






Expand Down
8 changes: 2 additions & 6 deletions vignettes/using_tidyusda.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,8 @@ tidyUSDA::plotUSDA(df = ops.with.sales)

```

![](https://github.com/bradlindblad/tidyUSDA/blob/master/images/vignette_1.png?raw=true)

*Note: it is a known issue that the RStudio graphics device on macOS can be extremely laggy when plotting. To get around this, feel free to use your own plotting methods such as the [tmap](https://github.com/r-tmap/tmap) package or [leaflet](https://rstudio.github.io/leaflet/).*


<a href='https://bradlindblad.github.io/tidyUSDA'><img src='images/vig_1.png' align="center" height="300" /></a>
<a href='https://bradlindblad.github.io/tidyUSDA/'><img src='images/vig_1.png' align="center" height="300" /></a>

*Note: it is a known issue that the RStudio graphics device on macOS can be extremely laggy when plotting. To get around this, feel free to use your own plotting methods such as the [tmap](https://github.com/r-tmap/tmap) package or [leaflet](https://rstudio.github.io/leaflet/).*

Expand All @@ -125,7 +121,7 @@ This gives us a bunch of really small numbers that don't make sense, but for our
tidyUSDA::plotUSDA(df = ops.with.sales, fill_by = 'value_per_sq_mile')
```

<a href='https://bradlindblad.github.io/tidyUSDA'><img src='images/vig_2.png' align="center" height="300" /></a>
<a href='https://bradlindblad.github.io/tidyUSDA/'><img src='images/vig_2.png' align="center" height="300" /></a>


Ahh, much better. Now we have a true plot showing the number of operations per square mile.
Expand Down