Skip to content

Instantly share code, notes, and snippets.

View McCartneyAC's full-sized avatar
💭
available for hire.

Andrew McCartney McCartneyAC

💭
available for hire.
View GitHub Profile
@McCartneyAC
McCartneyAC / treering_clean.R
Created April 23, 2020 21:04
pulling down PDSI data from treering NADA (https://www.ncdc.noaa.gov/paleo-search/) and cleaning for mapping
# tree ring data
library(mccrr)
library(lubridate)
library(tidyverse)
library(jsonlite)
library(tibble)
library(ggplot2)
library(dplyr)
library(tidyr)
@McCartneyAC
McCartneyAC / periodic_table_function.R
Last active May 28, 2020 20:57
Pull data on elements, then generate colorful periodic tables based on element properties
library(readr)
library(ggplot2)
library(dplyr)
elements<-read_csv("https://gist.githubusercontent.com/GoodmanSciences/c2dd862cd38f21b0ad36b8f96b4bf1ee/raw/1d92663004489a5b6926e944c1b3d9ec5c40900e/Periodic%2520Table%2520of%2520Elements.csv")
# correct mistaken Type Assignments
elements<-elements %>%