You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: R/permits.R
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@
6
6
7
7
#' @title Pull federal permits data
8
8
#'
9
-
#' @description Function to pull, clean and geocode GARFO commercial fishing permits from pre-existing confidential repository. Note that due to spelling error, geocoding principal ports removes 1% of permit entries, and takes approximately 25 minutes to run.
9
+
#' @description Function to pull, clean and geocode GARFO commercial fishing permits from pre-existing confidential repository. Note that due to spelling error, geocoding principal ports removes `1%` of permit entries, and takes approximately 25 minutes to run.
10
10
#'
11
-
#' @param proj_path Local path to data file
11
+
#' @param proj_path Local path to data folder. Note that this code is designed to read in multiple Excel files from a single folder, as each year is its own Excel file. If other Excel files are included in the same location, this function will not be able to discern it from the permits data and will not run.
12
12
#' @return Data frame of permits; includes year, prinicpal port and state, permit type, target species, and category (commerical, for-hire).
Copy file name to clipboardExpand all lines: R/vtr.R
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
#'
7
7
#' @description Function to pull and clean Vessel Trip Reports from pre-existing confidential repository.
8
8
#'
9
-
#' @param proj_path Local path to data file
9
+
#' @param proj_path Local path to data folder. Note that VTR data was provided in multiple CSV files. This function is designed to read all CSV files within a central location. If other CSVs are stored in the same location as the VTR, this function will not be able to discern the different data and will not run.
10
10
#' @return Data frame of vessel trip reports; includes year, sub_trip_id, latitude, longitude, port name and state, species caught, weight of kept and discarded catch.
0 commit comments