insertToDB: Function selects data from TravisTorrent table, creates new...

Description Usage Arguments

Description

Function selects data from TravisTorrent table, creates new table (with additional column author_mail with e-mail address of commit's author) and insert data into this new table. Values of author_mail column are collected from Github using Github API

Usage

1
2
insertToDB(dbName, dbHost, dbLogin, dbPassword, clientId, clientSecret,
  newTableName, ttTableName, projects)

Arguments

dbName

name of database

dbHost

host of database

dbLogin

user of database

dbPassword

user's password to connect to database

clientId

Github's client ID which is received when register to Github

clientSecret

Github's client secret which is received when register to Github

newTableName

name of a table which you want to create and insert data to

ttTableName

name of TravisTorrent table which currently exists in your database

projects

names of projects which you want to filter data table by, should be given as string with comma as delimiter


k-raczkowska/MMSE documentation built on May 20, 2019, 6:29 a.m.