Created
March 16, 2018 10:56
-
-
Save Robinlovelace/ac4d1050c0446f6a3a4f8c55cfc79286 to your computer and use it in GitHub Desktop.
Gantt chart created with vistime
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
# install.packages("vistime") | |
library(vistime) | |
library(tidyverse) | |
library(lubridate) | |
# ?vistime | |
# d = read_csv("potential-projects/ofo/gantt.csv") | |
d = read.csv(stringsAsFactors = FALSE,text = "event,start,duration,group | |
compile datasets,0,2,descriptive analysis | |
baseline data,1,2,descriptive analysis | |
time of day,1,2,descriptive analysis | |
demographics,1,2,descriptive analysis | |
areas,1,1,visualisation | |
routes,1.5,1,visualisation | |
route networks,2,2,visualisation | |
comparison with census data,3,2,data analysis | |
comparison with university data,3,2,data analysis | |
comparison with PCT data,4,2,data analysis | |
demand,4,1.5,policy analysis | |
cycle network gaps,5,3,policy analysis | |
projecting growth,6,3,policy analysis | |
return zones,7,3,policy analysis | |
BikeHub-Ofo interaction,7,2,policy analysis | |
write-up and comparison with other projects,4,6,write-up") | |
start_date = as_date(lubridate::ymd("2018-05-01", tz = "GMT")) | |
d$start = start_date + d$start * 7 | |
d$end = d$start + d$duration * 7 | |
vistime(d, linewidth = 20) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment