Water and Life

Water vapour amplifies the effects of the other more toxic Greenhouse Gasses and by diminishing the land we have increased the amount moving through Atmospheric Cycles. Much of our urban and agricultural infrastructure is designed to drain the land quickly which contradicts the earths natural systems.

Essex County (Ontario, Canada) was described as a Eden when it was first settled. Forests were then burned, endless marshlands, estuaries drained and the native wildlife eliminated, poisoned or pushed into very small pockets. Point Pelee is such a place, located on the southern tip of Essex county and is a source of local pride. Before you surround yourself with the beauty of the park; note the canals and pump stations keeping the great marsh in check. Imagine the potential of this marsh protecting small fish, birds, insects and plants. Imagine how healthy the surrounding lake would have been.

Restoration of our natural systems will be a crucial part of land stewardship for a better future.


Point Pelee Open Data

I’ve downloaded a data set and corresponding dictionary from open.canada.ca which details the results of a yearly survey of the parks frog and toad populations. I’ve created the following workbook using the RMarkdown package in RStudio. I’ve kept the data raw when importing so that you may download and achieve the same results with the following code chunks.

Listening Stations

I’ve extracted the coordinates from the dictionary and prepared a Leaflet map showing the listening stations where the surveys were completed through the years.

Data Cleaning

Let’s start by renaming the data frames and installing script friendly column names

Separation

The data set contains references or keys to the corresponding dictionary. In order to combine all of the variables into a single table, we will need to separate the dictionary into smaller tables and use Dplyr to piece the information into the data set.

#separate the dictionary by filtering the first column

#species code references the latin name of the frogs and toads
species_code_dict<- frogs_toads_dict %>% 
  filter(reference == "Species Code") %>% #join the english frognames
  left_join(frog_names_english, by = "key")
species_code_dict <- species_code_dict[, c(2, 4)]
colnames(species_code_dict) <- c("species_code", "frog_species")

#create a dictionary for the calling code (single, chorus)
calling_code_dict <- frogs_toads_dict %>% 
  filter(reference == "Calling Code")
calling_code_dict <- calling_code_dict[, c(2, 3)]
colnames(calling_code_dict) <- c("calling_code", "frog_call")

#Beaufort Windscale is a poetic scientific classification from the 19th century
wind_scale_dict <- frogs_toads_dict %>% 
  filter(reference == "Beaufort Wind Scale")
wind_scale_dict <- wind_scale_dict[, c(2, 3)]
colnames(wind_scale_dict) <- c("wind_scale_code", "wind_scale")

#scale noting traffic or other concerns that may affect the count
background_noise_dict <- frogs_toads_dict %>% 
  filter(reference == "Background Noise Code")
background_noise_dict <- background_noise_dict[, c(2, 3)]
colnames(background_noise_dict) <- c("background_code", "background_noise")

#raining or not very little data in this column anyway
precipitation_dict <- frogs_toads_dict %>% 
  filter(reference == "Precipitation")
precipitation_dict <- precipitation_dict[, c(2, 3)]
colnames(precipitation_dict) <- c("precipitation_code", "precipitation")

#create a dictionary for the stations and separate the Northing and Easting columns
pelee_station_dict <- frogs_toads_dict %>%
  filter(reference == "Pelee Station")  
pelee_station_dict <- separate(pelee_station_dict, data, 
          c("NAD", "UTM", "lng", "lat", "station_change", 
            "change_lng", "change_lat"), sep = " ")
pelee_station_dict_colnames <- c("reference", "pelee_station", "NAD", "UTM",
                              "lng", "lat", "station_change",
                              "change_lng", "change_lat")
colnames(pelee_station_dict) <- pelee_station_dict_colnames
#drop the redundant columns
pelee_station_dict <- pelee_station_dict[, c(2, 5, 6)]

Combination

Combining all of the variables into a single table and coercing column types.

Missingness

I prefer to use the Naniar package to visualize the missingness prior to making any decisions on cleaning or disregarding the data.

Final Thoughts

I believe that there are simple solutions to the problems that humanity faces and that there is an abundance of wisdom and wise people lifting up their voices for our collective future.

Increasing habitat potential will increase the potential for insects and smaller fish supporting the frog and toad populations, which in turn provide food for birds and smaller mammals.

If I had billions, I would actively be seeking out land for purchase and re-naturalization. My hope is that private citizens can make small changes to their lifestyles, maybe keeping pesticides out of yards, leaving a few areas with long grass for shelter and possibly a stretch of soft shoreline.

One of the fundamental lessons in nature is balance and humanity has created so many challenges. I’m very optimistic that we can find a way to coexist and thrive alongside natural systems.