Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ty-WDFW committed May 2, 2024
1 parent 48f4184 commit 1e1cd79
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
9 changes: 6 additions & 3 deletions R/marine.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,16 @@ marine_pull <- function(catch_area, start_date, end_date, int_dates = FALSE,
check_freshness()
}

query <- pssp_query(query =
glue::glue("select
query <- pssp_query(
query =
glue::glue(
"select
*
from mvw_dockside_marine
where
survey_datetime between '{start_date}' and '{end_date}' and
catch_area_code in('{catch_area}')")
catch_area_code in('{catch_area}')"
)
)

if (int_dates){
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# pssp
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/FRAMverse/pssp/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/FRAMverse/pssp/actions/workflows/R-CMD-check.yaml)
<!-- badges: end -->
# pssp
Rewrite of the pssp R Package


## Overview

pssp is a package that works with WDFW collected Puget Sound creel sampling data.
None of the functions with retrieve data will work outside of the state network,
although functions focused on analysis will work give the proper dataset.

## Installation

``` r
devtools::install_github("FRAMverse/pssp")

# Alternatively
remotes::install_github("FRAMverse/pssp")
```

0 comments on commit 1e1cd79

Please sign in to comment.