Skip to content

Instantly share code, notes, and snippets.

View kaskarn's full-sized avatar
🥐

Antoine Baldassari kaskarn

🥐
  • UNC Epidemiology
  • Chapel Hill
View GitHub Profile
@kaskarn
kaskarn / bakeme.R
Last active October 20, 2020 11:09
Cluster baked goods (page proposal)
library(data.table)
library(igraph)
library(ggplot2)
library(RColorBrewer)
library(plotly)
#get usda data from https://fdc.nal.usda.gov/fdc-datasets/FoodData_Central_csv_2020-04-29.zip
#change those paths
mydir <- "C:/Users/balda/Dropbox/usda_cluster/"