Skip to content

Instantly share code, notes, and snippets.

View jvcasillas's full-sized avatar

Joseph V. Casillas jvcasillas

View GitHub Profile
library(tidyverse)
library(lubridate)
library(broom)
library(scales)
library(gganimate)

# Load and clean data
# This data comes from Dark Sky's API
weather_provo_raw <- read_csv("https://andhs.co/provoweather")
@tjmahr
tjmahr / sort.R
Last active September 30, 2018 13:52
sorting photos
# R script for sorting the pictures in my OneDrive's camera roll folder. Photos
# in the directory are uploaded and backed up here automatically from the iOS
# OneDrive app. This script puts the photos into Year / Month subfolders.
dir <- "F:/Tristan/OneDrive/Pictures/Camera Roll"
ps <- list.files(dir, "*.(jpg|png)", full.names = TRUE)
library(exiftoolr)
library(dplyr)