Skip to content

Instantly share code, notes, and snippets.

@jdavidson
jdavidson / lifetime.R
Created January 13, 2014 19:25
An analysis of crunchbase data for start up financing timing.
library(ggplot2)
library(ggthemes)
library(plyr)
library(lubridate)
library(scales)
library(data.table)
options(scipen=999)
options(stringsAsFactors = FALSE)
rounds <- read.csv("2014-01-06-crunchbase_monthly_export_rounds.csv")
@jdavidson
jdavidson / round-analysis.R
Created January 6, 2014 18:55
Script to visualize Crunchbase funding rounds data
library(ggplot2)
library(plyr)
library(lubridate)
library(scales)
options(scipen=999)
options(stringsAsFactors = FALSE)
rounds <- read.csv("2013-11-04-crunchbase_monthly_export_rounds.csv")
# exclude non venture rounds (other, private equity, post-ipo)
rounds <- subset(rounds, funding_round_type %in% c("venture", "angel", "crowdfunding", "series-a", "series-b", "series-c+"))