This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Lattice plot of uc admission data, UCB vs. UCD | |
library(XML) | |
library(RCurl) | |
library(reshape2) #requires plyr | |
#statistics from UCOP | |
url= "http://statfinder.ucop.edu/library/tables/table_153.aspx" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(plyr) | |
library(cimis) | |
library(lattice) | |
#get the data | |
x = mcimishourly(c(6, 99), label = "name") | |
#split to make cumsums | |
x2 = ddply(x, .(station), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.libPaths("~/Rpackages") | |
library(lattice) | |
library(XML) | |
library(RCurl) | |
library(RLastFM) | |
library(cimis) | |
options(error = recover, repos = "http://cran.cnr.Berkeley.edu") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File-Name: currency_converter.R | |
# Date: 2009-11-17 | |
# Author: Drew Conway | |
# Purpose: Convert currency data | |
# Data Used: vc_invests.csv | |
# Packages Used: foreign,XML | |
# Output File: vc_invests_USD.csv | |
# Data Output: | |
# Machine: Drew Conway's MacBook | |