Rstats client for ClickHouse (https://clickhouse.yandex)
R
Latest commit 61ea2f6 Oct 18, 2016 @hannesmuehleisen committed on GitHub fix issues link
Permalink
Failed to load latest commit information.
R
man added some configuration possibilities Oct 18, 2016
DESCRIPTION import Oct 18, 2016
NAMESPACE import Oct 18, 2016
README.md fix issues link Oct 18, 2016

README.md

clickhouse R DBI client

This R package provides a DBI client for the ClickHouse database

Installation

  • the latest development version from github with

    devtools::install_github("hannesmuehleisen/clickhouse-r")

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)