Tools for working with LinkedIn biographical data for people working in tech, namely Stanford CS degree holders for use "A Theory of Silicon Valley"

Installation

Type in R console:

install.packages("devtools")
devtools::install_github("johnjosephhorton/techbios",
                         build_vignettes = TRUE)

Usage

Load the library

library(techbios)

Package techbios has several solution around Stanford PhD graduates data. They are accessible via pre-calculated data.

Q1: Number of Stanford PhD graduates by year

# Shows data
data(df_1)
head(df_1)

# Plots data
StanfordCSPhDGradsPerYear()

Q2: Fraction of Stanford CS PhD grads choosing various career options over time

# Shows data
data(df_2)
head(df_2)

# Plots data
StanfordCSPhDGradsOccChoicePerYear()

Q3: Career trajectories

# Plots data
StanfordCSPhDGradsCareerHistories()

Q4: Timeline for individual graduate

# Plots data
StanfordCSPhDGradsTimeline(id = 2)

# The same, but only after graduation
StanfordCSPhDGradsTimeline(id = 2, grads_only = TRUE)

Q5

choices <- StanfordCSPhDGradsCareerChoices()
choices


johnjosephhorton/techbios documentation built on May 19, 2019, 5:15 p.m.