Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add weather overlap period 534 [minor] #556

Merged
merged 1 commit into from
Nov 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions DataCleaningScripts/clean_pit_tags.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@



#
# determines if a tag is a PIT tag by its structure
# requires species input for comparison, returns a logical vector
Expand Down
8 changes: 4 additions & 4 deletions DataCleaningScripts/get_regional_weather.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
library(httr)
library(jsonlite)
library(dplyr)
library(lubridate)
library(httr, warn.conflicts=FALSE, quietly = TRUE)
library(jsonlite, warn.conflicts=FALSE, quietly = TRUE)
library(dplyr, warn.conflicts=FALSE, quietly = TRUE)
library(lubridate, warn.conflicts=FALSE, quietly = TRUE)

# Explicitly assign magrittr pipe operator
`%>%` <- magrittr::`%>%`
Expand Down
8 changes: 4 additions & 4 deletions DataCleaningScripts/new_rodent_data.r
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# This script is for cleaning new rodent data. Data must first be entered in two separate sheets in
# an excel file, by two different people to reduce entry error.

library(openxlsx)
library(sqldf)
library(RCurl)
library(dplyr)
library(openxlsx, warn.conflicts=FALSE, quietly = TRUE)
library(sqldf, warn.conflicts=FALSE, quietly = TRUE)
library(RCurl, warn.conflicts=FALSE, quietly = TRUE)
library(dplyr, warn.conflicts=FALSE, quietly = TRUE)

source('DataCleaningScripts/general_data_cleaning_functions.R')
source('DataCleaningScripts/rodent_data_cleaning_functions.R')
Expand Down
2 changes: 1 addition & 1 deletion DataCleaningScripts/old_weather_overlap.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ source("DataCleaningScripts/new_weather_data.r")
# Open raw .dat file of new data
filepath = "~/Dropbox (UFL)/Portal/PORTAL_primary_data/Weather/Raw_data/2002_Station/"

metfile <- "Met526"
metfile <- "Met534"

rawdata <- read.csv(paste(filepath,metfile,'.dat',sep=''),head=F,sep=',',
col.names=c('code','year','jday','hour','precipitation','airtemp','RH'))
Expand Down
2 changes: 1 addition & 1 deletion DataCleaningScripts/rodent_data_cleaning_functions.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library(dplyr)
library(dplyr, warn.conflicts=FALSE, quietly = TRUE)

currentdir = getwd()

Expand Down
2 changes: 1 addition & 1 deletion DataCleaningScripts/update_portal_plant_censuses.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# you must manually change it's value to zero
# If a season gets skipped entirely, it should also be manually added

library(dplyr)
library(dplyr, warn.conflicts=FALSE, quietly = TRUE)

#' Appends new census dates to Portal_plant_censuses
#'
Expand Down
4 changes: 2 additions & 2 deletions DataCleaningScripts/update_portal_plots.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
library(zoo)
library(dplyr)
library(zoo, warn.conflicts=FALSE, quietly = TRUE)
library(dplyr, warn.conflicts=FALSE, quietly = TRUE)

#' Appends new dates to Portal_plots
#'
Expand Down
4 changes: 2 additions & 2 deletions DataCleaningScripts/update_portal_rodent_trapping.r
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# This creates the Portal_rodent_trapping.csv file in the Rodents folder
# Record of which plots were or were not trapped in each census and exact dates

library(dplyr)
library(zoo)
library(dplyr, warn.conflicts=FALSE, quietly = TRUE)
library(zoo, warn.conflicts=FALSE, quietly = TRUE)

#' Appends new trapping dates to Portal_rodent_trapping
#'
Expand Down
11,714 changes: 5,857 additions & 5,857 deletions Weather/Portal_weather_overlap.csv

Large diffs are not rendered by default.