italia / daf-d3-unibo-scuole

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Join the #daf-d3 channel Get invited

Introduction

This reposotory contains a visualization that uses data from the University of Bologna on the different Schools and courses. Data has been downloaded from the open data portal of the University of Bologna. Two datasets have been merged: a dataset with indicators and a dataset with all courses available at the University of Bologna.

To see the visualization open the index.html file in your browser or go here.

Data preprocessing

path1="./data/indicatori_2017_it.csv"
path2="./data/corsi_2016_it.csv"
mydata1 = read.csv(path1, header=T)
mydata2 = read.csv(path2, header=T)
myfulldata = merge(mydata1, mydata2)
write.table(myfulldata, file = "./data/merged.csv", append = FALSE, quote = TRUE, sep = ",",eol = "\n", na = "NA", dec = ".", row.names = FALSE,col.names = TRUE)
library(rjson)
x <- toJSON(unname(split(myfulldata, 1:nrow(myfulldata))))
fileConn<-file("merged.json")
writeLines(x, fileConn)
close(fileConn)

Licence

Copyright (c) 2017-2018, the respective contributors, as shown by the AUTHORS file.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.

About

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 87.8%Language:CSS 8.7%Language:HTML 3.5%