From e121538926cb6b7e7c6346f8e4db5d54de7e3ee0 Mon Sep 17 00:00:00 2001 From: Samantha Werner Date: Fri, 21 Jul 2023 09:40:32 -0400 Subject: [PATCH 1/6] Update Cost_survey.md Updates cost survey data info for Oracle --- Cost_survey.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Cost_survey.md b/Cost_survey.md index 46f53d2..1350657 100644 --- a/Cost_survey.md +++ b/Cost_survey.md @@ -1,6 +1,19 @@ Hi! +Cost survey data is currently being databased in Oracle (07.21.2023). As of today, data from 20011, 2012 and 2015 are found on Oracle. The cost survey working group is also allocating efforts to database the 2022 data and 2006, 2007 and 2008 data. +Location: NEFSCDB1 (new nova) +Schema: SSB_COST_SURVEY +Views: +VCS_COMMON_COSTS_V +Tables: +VCS_COST20211 +VCS_COST20212 +VCS_COST20215 +VCS_SURVEY_DETAILS +VCS_COST_CATEGORIES -The cost survey data can be found on the socialscience drive at +Please reach out to Sam Werner and/or Greg Ardini with any questions + +In addition ll cost survey data can be found on the socialscience drive at in flat files (Excel): \\net\work5\socialsci\Cost_survey_data_all_years Here is a bit of R code that you can use to read in that data: From 695e8c6bb1b03fcf08326a325b2667330f42e042 Mon Sep 17 00:00:00 2001 From: Min-Yang Lee Date: Fri, 21 Jul 2023 10:06:25 -0400 Subject: [PATCH 2/6] typo fix --- Cost_survey.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cost_survey.md b/Cost_survey.md index 1350657..fd7a9bd 100644 --- a/Cost_survey.md +++ b/Cost_survey.md @@ -1,5 +1,4 @@ -Hi! -Cost survey data is currently being databased in Oracle (07.21.2023). As of today, data from 20011, 2012 and 2015 are found on Oracle. The cost survey working group is also allocating efforts to database the 2022 data and 2006, 2007 and 2008 data. +Cost survey data is currently being databased in Oracle (07.21.2023). As of today, data from 2001, 2012 and 2015 are found on Oracle. The cost survey working group is also allocating efforts to database the 2022 data and 2006, 2007 and 2008 data. Location: NEFSCDB1 (new nova) Schema: SSB_COST_SURVEY Views: From 5773d89cc015044854e607486cf2db390de557db Mon Sep 17 00:00:00 2001 From: Min-Yang Lee Date: Fri, 21 Jul 2023 10:06:52 -0400 Subject: [PATCH 3/6] Update Cost_survey.md typo fix again. --- Cost_survey.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cost_survey.md b/Cost_survey.md index fd7a9bd..b20a9ba 100644 --- a/Cost_survey.md +++ b/Cost_survey.md @@ -1,4 +1,4 @@ -Cost survey data is currently being databased in Oracle (07.21.2023). As of today, data from 2001, 2012 and 2015 are found on Oracle. The cost survey working group is also allocating efforts to database the 2022 data and 2006, 2007 and 2008 data. +Cost survey data is currently being databased in Oracle (07.21.2023). As of today, data from 2011, 2012 and 2015 are found on Oracle. The cost survey working group is also allocating efforts to database the 2022 data and 2006, 2007 and 2008 data. Location: NEFSCDB1 (new nova) Schema: SSB_COST_SURVEY Views: From 4c6031cc3ce96cc4371f8703511597702b96f5fb Mon Sep 17 00:00:00 2001 From: Min-Yang Lee Date: Wed, 25 Oct 2023 14:31:30 -0400 Subject: [PATCH 4/6] Update Cost_survey.md --- Cost_survey.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Cost_survey.md b/Cost_survey.md index b20a9ba..c51bf86 100644 --- a/Cost_survey.md +++ b/Cost_survey.md @@ -1,3 +1,5 @@ +# Cost Survey Data + Cost survey data is currently being databased in Oracle (07.21.2023). As of today, data from 2011, 2012 and 2015 are found on Oracle. The cost survey working group is also allocating efforts to database the 2022 data and 2006, 2007 and 2008 data. Location: NEFSCDB1 (new nova) Schema: SSB_COST_SURVEY @@ -15,13 +17,4 @@ Please reach out to Sam Werner and/or Greg Ardini with any questions In addition ll cost survey data can be found on the socialscience drive at in flat files (Excel): \\net\work5\socialsci\Cost_survey_data_all_years -Here is a bit of R code that you can use to read in that data: -``` -net<-full.path.to.net -cost_directory<-file.path(net,"work5","socialsci","Trip_Costs","2007-2020") -X2007_2012 <- read_excel(file.path(cost_directory,"2007_2012.xlsx")) -X2013_2020 <- read_excel(file.path(cost_directory,"2013_2020.xlsx")) -``` - -More to follow. It is not stored in oracle. From 8f5f757c6ba6d7f13553355efaac35386b73ec1b Mon Sep 17 00:00:00 2001 From: Min-Yang Lee Date: Wed, 25 Oct 2023 14:34:31 -0400 Subject: [PATCH 5/6] Create Trip_Costs.md --- Trip_Costs.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Trip_Costs.md diff --git a/Trip_Costs.md b/Trip_Costs.md new file mode 100644 index 0000000..b6e4faf --- /dev/null +++ b/Trip_Costs.md @@ -0,0 +1,17 @@ +# Predicted Trip costs + +Predicted Trip costs are stored on the network. + +Here is a bit of R code that you can use to read in that data: +``` +socialsci_dir<-full.path.to.social.sci.directory + +cost_directory1<-file.path(socialsci_dir,"Trip_Costs","2000-2009") +cost_directory2<-file.path(socialsci_dir,"Trip_Costs","Archived","2010-2021") +cost_directory_new<-file.path(socialsci_dir,"Trip_Costs","2010-2022") + + +Cost_Part1 <- read_excel(file.path(cost_directory1,"2000_2009_Commercial_Fishing_Trip_Costs.xlsx"), sheet=1) +Cost_Part2 <- read_excel(file.path(cost_directory1,"2000_2009_Commercial_Fishing_Trip_Costs.xlsx"), sheet=2) +Cost_Part3 <- read_excel(file.path(cost_directory_new,"2010_2022_Commercial_Fishing_Trip_Costs.xlsx")) +``` From 05bf792a0146dd23a3380698501a9d427cfc0ae2 Mon Sep 17 00:00:00 2001 From: Min-Yang Lee Date: Wed, 25 Oct 2023 14:35:07 -0400 Subject: [PATCH 6/6] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index f3a1d19..5137e3a 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,8 @@ to pull the GARFO "document" table. [svdbs](svdbs.md) : Survey Databases +[Trip Costs](Trip_Costs.md) : Dataset containing predicted trip costs + [Veslog](veslog.md) : Vessel Trip Reports (VTRs) [VMS](VMS.md) : Vessel monitoring system (VMS)