Skip to content

Instantly share code, notes, and snippets.

View cmtucker's full-sized avatar

Caroline Tucker cmtucker

View GitHub Profile
#To run 2017 caRd quickly.
require(RCurl)
myscript <- getURL("https://raw.githubusercontent.com/cmtucker/EEB-FlowMisc/master/2017caRd_script.R", ssl.verifyhost=FALSE, ssl.verifypeer=FALSE)
source(textConnection(myscript))
@cmtucker
cmtucker / caRd2017
Last active December 18, 2017 19:24
caRd2017 for the EEB & Flow
#################EEB & Flow 2017 caRd
#First choose how to get the data:
#IF you chose to download the data file already, make sure you have the local file pathway correctly here:
# csv file available at: https://github.com/cmtucker/EEB-FlowMisc/blob/master/2017caRd_data.csv
#myfile <- "2017caRd_data.csv"
#newImage <- read.csv(myfile, header=TRUE)
#OR, use RCurl package to download it directly from github
@cmtucker
cmtucker / snowflakeCode
Created December 14, 2014 22:50
snowflakeCode
if( ! require( "circlize" , character.only = TRUE ) ){
# If package was not able to be loaded then re-install
install.packages( "circlize" , dependencies = TRUE )
# Load package after installing
require( "circlize" , character.only = TRUE )
}
rm(list=ls())
####Start