Skip to content

Instantly share code, notes, and snippets.

Avatar

Antoine Baldassari kaskarn

  • UNC Epidemiology
  • Chapel Hill
View GitHub Profile
@kaskarn
kaskarn / bakeme.R
Last active Oct 20, 2020
Cluster baked goods (page proposal)
View bakeme.R
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/"