The data came from the Queensland Shark Control Program which is a program implemented by the Department of Agriculture and Fisheries of the Queensland Government. The program aims to “reduce the risk of shark bites in Queensland coastal waters” (Shark Control Program, 2022) by gathering data from sharks caught in secured nets and drums at eleven popular beach areas along the QLD coast (Pushaw, 2015).
The data is valid because it comes directly from the organisation that initiated the program and collects the data.
Possible issues include the potential effect on the profits of businesses or organisations that deal directly with shark populations. These many offshoots use the data to inform their business activity.
Potential stakeholders include but are not limited to, tourism, commercial and recreational fishing, and conservation organisations. Due to the fact that profits are at stake, it is not impossible for data to be misrepresented in order to reduce risk of loss of revenue. This may be done by inflating or deflating species and population numbers.
Each row represents the circumstances surrounding one shark being caught in a net or drum. Each row is dedicated to one individual shark caught in the year 2016.
Each column represents the variables surrounding the individual shark being caught. This includes its species, the date of the catch, the area in which the shark is caught, the specific location within the area in which the shark is caught, the longitude and latitude of the shark when caught, the length of the shark, the water temperature when the shark is caught, the month in which the shark is caught, and the day of the week.
The key variables are the species of shark caught, the date and location in which it is caught, the water temperature, and the size of the shark. From these variables one can investigate various questions about the current climate. The species of shark can indicate the population levels and possible conservation status risks of a species. The date and location can indicate a change in migratory patterns or effects of climate change that has caused habitats to shift. The water temperature can indicate a rise or fall in temperature during migratory periods. The size of the shark can indicate nutrition levels, change in lifespan, or increased habitat competition for a species.
#Read in dataset
sharks<-read.csv("/Users/brynnarollins/Desktop/MATH 1005/Assessments/Project 2/sharks.csv", header=TRUE)
#Dimensions of the dataset
dim(sharks)
## [1] 532 10
#Classification of the variables
sharks$Date=as.Date(sharks$Date, format="%Y-%m-%d")
sharks$Water.Temp..C.=as.numeric(sharks$Water.Temp..C.)
str(sharks)
## 'data.frame': 532 obs. of 10 variables:
## $ Species.Name : chr "Australian Blacktip" "Blacktip Reef Whaler" "Blacktip Reef Whaler" "Blacktip Reef Whaler" ...
## $ Date : Date, format: NA NA ...
## $ Area : chr "Cairns" "Cairns" "Cairns" "Mackay" ...
## $ Location : chr "Holloways Beach" "Buchans Point Beach" "Ellis Beach" "Harbour Beach" ...
## $ Latitude : chr "-16°49.82" "-16°43.56" "-16°43.3" "-21°7.08" ...
## $ Longitude : chr "145°44.85" "145°39.78" "145°39.01" "149°13.62" ...
## $ Length..m. : num 1 0.7 1.5 2.2 1.7 1.2 0.75 1.2 0.8 1.3 ...
## $ Water.Temp..C.: num 27 27 27 26 26 29 30 31 29 29 ...
## $ Month : chr "November" "January" "January" "January" ...
## $ Day.of.Week : chr "Wednesday" "Saturday" "Saturday" "Tuesday" ...