Skip to content

Commit

Permalink
v1.1.0.9023
Browse files Browse the repository at this point in the history
 Rebuild vignette with taxa distribution map as image; Issue #33
  • Loading branch information
leppott committed Jul 9, 2020
1 parent d86e856 commit 8a3d23e
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: Suite of tools for data manipulation and calculations for Maryland
DNR MBSS program. Includes functions for calculating FIBI, BIBI (MBSS
genus), BIBI (MSW family), PHI, flow sums, ion contributions, and taxa
distribution maps.
Version: 1.1.0.9022
Version: 1.1.0.9023
Authors@R: c(
person("Erik W.", "Leppo", email="Erik.Leppo@tetratech.com", role=c("aut","cre")),
person("Ann","Roseberry Lincoln", role="ctb"),
Expand Down
6 changes: 5 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ NEWS-MBSStools

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2020-07-09 10:55:39
#> Last Update: 2020-07-09 12:04:57

# MBSStools v1.1.0.9023 (2020-07-09)

- Rebuild vignette with taxa distribution map as image; Issue \#33

# MBSStools v1.1.0.9022 (2020-07-09)

Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ NEWS-MBSStools

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2020-07-09 10:55:39
#> Last Update: 2020-07-09 12:04:57

# MBSStools v1.1.0.9023 (2020-07-09)

- Rebuild vignette with taxa distribution map as image; Issue \#33

# MBSStools v1.1.0.9022 (2020-07-09)

Expand Down
4 changes: 4 additions & 0 deletions NEWS.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ knitr::opts_chunk$set(
```{r, echo = FALSE}
cat(paste0("Last Update: ",Sys.time()))
```
MBSStools v1.1.0.9023 (2020-07-09)
================
* Rebuild vignette with taxa distribution map as image; Issue #33

MBSStools v1.1.0.9022 (2020-07-09)
================
* Shiny app, ensure download button is not active until create zip file; Issue #32
Expand Down
2 changes: 1 addition & 1 deletion inst/shiny-examples/MBSStools/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ library(shinyjs) # used for togglestate of download button
shinyUI(fluidPage(

# Application title
titlePanel("MBSStools, IBI Calculator, v1.1.0.9022"),
titlePanel("MBSStools, IBI Calculator, v1.1.0.9023"),

# SideBar
sidebarLayout(
Expand Down
11 changes: 7 additions & 4 deletions vignettes/MBSStools_vignette.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -291,11 +291,15 @@ wd <- getwd()
MapTaxaObs(Obs, XWalk, wd, onlymatches = FALSE)
```

The intent behind this function was to recreate the fish taxa distribution maps. But the data inputs are not specific to fish and can be used for benthic macroinvertebrate data.
The intent behind this function was to recreate the fish taxa distribution maps on the MBSS website.

http://eyesonthebay.dnr.maryland.gov/mbss/fishes.cfm

The data inputs are not specific to fish and can be used for benthic macroinvertebrate data or any other presence/absence data.

The taxa distribution map for brown trout is shown below.

```{r TaxaMap Brown Trout, echo=FALSE, results="hide", fig.show='hold', warnings=FALSE, eval=TRUE}
```{r TaxaMap_BrownTrout, echo=FALSE, results="hide", fig.show='hold', warnings=FALSE, eval=FALSE}
# example map.
# include only brown trout
# brntrout.png
Expand All @@ -322,8 +326,6 @@ file.copy(file.path(path.package("MBSStools"),"extdata",myFiles),file.path(wd,"D
### GIS
unzip(file.path(path.package("MBSStools"),"extdata","MD_GIS.zip"),exdir=file.path(wd,"GIS"))
# data files
obs <- "AllFish_95to16.xls"
xWalk <- "TaxaMapsCrossWalk20170731.xlsx"
Expand Down Expand Up @@ -402,6 +404,7 @@ taxon <- as.character(map.taxa$CommonName[i])
#reset old working directory
#setwd <- oldwd
```
![Taxa distribution for Brown Trout.](map_BrownTrout.png)

## Stream Discharge
Calculate stream discharge based on field measurements. Side channels that are properly identified in the data will be included.
Expand Down
Binary file added vignettes/map_BrownTrout.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8a3d23e

Please sign in to comment.