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
## gganimate: gradually reveal underlying stripe image | |
library(jpeg) | |
library(grid) | |
library(ggplot2) | |
library(scales) | |
library(gganimate) | |
library(dplyr) | |
setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) |
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
# Create a map of traces using Google Location History # | |
# get your google maps data: | |
# https://www.howtogeek.com/725241/how-to-download-your-google-maps-data/ | |
library(dplyr) # data wrangling | |
library(lubridate) # date parsing | |
library(ggplot2) # plotting | |
library(jsonlite) # reading in json file | |
library(sf) # spatial |
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
library(sf) | |
library(elevatr) | |
library(raster) | |
library(rayshader) | |
library(dplyr) | |
setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) | |
# read in andes shapefile from https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5466557/ | |
# idk exactly what i'm doing yet | |
# get extent we're interested in |