Skip to content

awchisholm/clickhouse-r

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Rstats client for ClickHouse (https://clickhouse.yandex)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%