Skip to content

Instantly share code, notes, and snippets.

View zacharystansell's full-sized avatar

Zachary Stansell zacharystansell

View GitHub Profile
@zacharystansell
zacharystansell / usda_nass_ag_production
Last active May 3, 2021 23:44
USDA-NASS crop acreage by county 2015-2020
---
title: "NASS"
author: "Zachary J. Stansell"
date: '`r format(Sys.Date(), "%d-%b-%Y")`'
output:
bookdown::html_document2:
highlight: pygments
theme: united
number_sections: no
toc: yes
@zacharystansell
zacharystansell / personality.Rmd
Created August 15, 2020 06:45
Big_5_Personality_By_Country
library("tidyverse")
library("data.table")
library("ggplot2")
library("ggpubr")
library("dplyr")
library("magrittr")
library("countrycode")
# Data normalizing func
@zacharystansell
zacharystansell / broccoli_poster.R
Last active December 16, 2019 21:04
Broccoli Diversity Poster
########################
# Script to produce images with population structure of 97 broccoli accessions.
# Data generated by Björkman Lab @ Cornell University
# Data collected by Zachary Stansell, Thomas Björkman, Colden Proe, and Teagan Zingg
# Script by Zachary Stansell www.zacharystansell.com
# With help from contributors (see additional functions below)
# Funded by the Eastern Broccoli Project (https://blogs.cornell.edu/easternbroccoliproject/)
# https://www.reddit.com/r/dataisbeautiful/comments/e9ymhg/i_grew_97_different_types_of_broccoli_this_summer/
########################