Skip to content

Commit

Permalink
fixed path to read in file
Browse files Browse the repository at this point in the history
  • Loading branch information
andybeet committed Jun 25, 2024
1 parent 6b68a95 commit 90a99b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/create_dataset.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#'
#' @param fleetType character (scallop, groundfish)

create_dataset <- function(fleettype) {
create_dataset <- function(fleetType) {

cleanData <- readRDS(here::here("data-raw/processedData.rds"))
cleanData <- readRDS(here::here("data-raw/fishing/processedData.rds"))
# just select commercial fleets within the NEUS domain
cleanData <- cleanData$data

Expand All @@ -24,7 +24,7 @@ create_dataset <- function(fleettype) {
stop("Please select an appropriate fleet type")
}

return(fleeData)
return(fleetData)

}

0 comments on commit 90a99b3

Please sign in to comment.