This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################### | |
### Download globcolour.info data from ftp site ### | |
################################################### | |
# Load libraries | |
require(raster) | |
require(tidyverse) | |
# first request data from https://hermes.acri.fr/index.php?class=archive | |
# then emailed ftp site address |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################################################################### | |
### Example script to generate a map using ggplot2 with similar look to Ocean Data View ### | |
########################################################################################### | |
# The example map I am trying to recreate is here: | |
# https://twitter.com/JamesGrecian/status/1137018574504153089?s=20 | |
# Load in libraries | |
require(marmap) # for bathymetry data | |
require(tidyverse) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################################################################################### | |
### Example script to generate and plot a bivariate kernel utilisation distribution from GPS data ### | |
##################################################################################################### | |
# Load libraries | |
require(tidyverse) | |
require(viridis) | |
require(rworldmap) | |
require(sf) | |
require(raster) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########################################## | |
### Example script to animate GPS data ### | |
########################################## | |
# Load libraries | |
require(tidyverse) | |
require(animation) | |
require(viridis) | |
require(rworldmap) | |
require(sf) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################################### | |
### Some pointers for habitat preference analysis ### | |
##################################################### | |
#Load in libraries | |
require(sf) | |
require(tidyverse) | |
require(viridis) | |
require(rworldmap) | |
require(raster) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############################################ | |
### Extract NSIDC geotiff data to points ### | |
############################################ | |
#Many thanks to mdsumner for help with this: | |
#https://github.com/mdsumner/extractNSIDC/blob/master/extract_script.R | |
#Load libraries | |
require(tidyverse) | |
require(lubridate) |