Skip to content

Commit

Permalink
Added scallops and clam data
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Lucey committed Nov 30, 2023
1 parent 03a233f commit 6d5f9e3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions data-raw/R/generic_scallop_clam_survey_pull.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#Generic survey data pull
library(data.table); library(survdat); library(dbutils); library(here)

#Pull Data----
channel <- dbutils::connect_to_database(server="sole",uid="slucey")

clams <- survdat::get_survdat_clam_data(channel)

save(clams, file = here('data', 'survdatClams.RData'))

scallops <- survdat::get_survdat_scallop_data(channel)

save(scallops, file = here('data', 'survdatScallops.RData'))

Binary file added data/survdatClams.RData
Binary file not shown.
Binary file added data/survdatScallops.RData
Binary file not shown.

0 comments on commit 6d5f9e3

Please sign in to comment.