README.md

clickhouse R DBI client

This R package provides a DBI client for the ClickHouse database

Installation

If you encounter a bug, please file a minimal reproducible example on github.

Usage

library(DBI)
con <- dbConnect(clickhouse::clickhouse(), host="localhost", port=8123L, user="default", password="")
dbWriteTable(con, "mtcars", mtcars)
dbListTables(con)
dbGetQuery(con, "SELECT COUNT(*) FROM mtcars")
d <- dbReadTable(con, "mtcars")
dbDisconnect(con)


hannesmuehleisen/clickhouse-r documentation built on May 17, 2019, 2:28 p.m.