tcattempo: tcattempo

Description Usage Arguments Value

View source: R/tcattempo.R

Description

Deploy a DMI-TCAT database in an R directory as a csv / tsv file with UTF-8 encoding.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
tcattempo(
  bin,
  hostname = "localhost",
  username = "tcatdbuser",
  pass,
  database = "twittercapture",
  coltime = created_at,
  startday,
  endday = Sys.Date(),
  starttime = "00:00:00",
  endtime = "23:59:59",
  deploy = TRUE,
  extension = "rda",
  path = "temp/"
)

Arguments

bin

The bin name

hostname

The host name of the database. Default set to localhost

username

The username to access the database. Default set to tcatdbuser

pass

The password to access the database

database

The name of the database. Default set to twittercapture

coltime

The column on which time filtering is performed. Default set on "created_at"

startday

The start day of the sample

endday

The end day of the sample. Default set on today

starttime

The start time of the sample. Default set to 00:00:00

endtime

The end time of the sample. Default set to 23:59:59

deploy

Save the datas as a file. Default set to TRUE

extension

The chosen extension for the deployment of the database. Possible choices : "csv", "tsv", "rda". Default set to a "rda" format

path

File path. Defaults set to current directory

Value

Returns a csv / tsv file, with a UTF-8 encoding


edouardschuppert/sqldeployR documentation built on Jan. 8, 2020, 10:47 a.m.