RTD

Simple R client for Treasure Data

https://github.com/treasure-data/rtd

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary

Keywords

r treasuredata
Last synced: 11 months ago · JSON representation

Repository

Simple R client for Treasure Data

Basic Info
  • Host: GitHub
  • Owner: treasure-data
  • License: apache-2.0
  • Language: HTML
  • Default Branch: master
  • Homepage:
  • Size: 2.48 MB
Statistics
  • Stars: 4
  • Watchers: 66
  • Forks: 2
  • Open Issues: 0
  • Releases: 2
Topics
r treasuredata
Created over 7 years ago · Last pushed 12 months ago
Metadata Files
Readme Changelog License Security

README.md

RTD

R-CMD-check

RTD is an official R client for Arm Treasure Data. It aims to make it simple to handle or connect from R to TD.

Since RTD covers only basic execution on TD, we recommend to use RPresto or RJDBC for querying.

Requirements

To upload data.frame from R, there are two options:

  1. embulk
  2. bulk-import

If you want to use embulk, ensure you've installed embulk and set PATH for it.

Install

As of version 0.4.1, RTD has been back to CRAN. You can install RTD as:

R install.packages("RTD")

You can install via devtools::install_github for the latest development version.

R install.packages("devtools") # Install devtools if needed devtools::install_github("treasure-data/RTD@v0.4.1")

Or, you can use install-github.me instead like:

R source("https://install-github.me/treasure-data/RTD@v0.4.1")

Example

See also RTD_example.Rmd or RPubs.

```R library(RTD)

client <- Td(apikey=Sys.getenv("TDAPIKEY"), endpoint=Sys.getenv("TDAPISERVER"))

Show list of databases

list_databases(client)

Create database

create_database(client, "test")

Craete table

create_table(client, "test", "example")

Delete table

delete_table(client, "test", "example")

Upload data.frame. Target database and table will be created automatically.

td_upload(client, "test", "mtcars", mtcars)

Drop database

delete_database(client, "test") ```

Owner

  • Name: Treasure Data
  • Login: treasure-data
  • Kind: organization
  • Location: Mountain View, CA

Most companies say they love open source. We also LIVE it.

GitHub Events

Total
  • Issues event: 4
  • Push event: 2
  • Pull request event: 1
  • Create event: 1
Last Year
  • Issues event: 4
  • Push event: 2
  • Pull request event: 1
  • Create event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 123
  • Total Committers: 2
  • Avg Commits per committer: 61.5
  • Development Distribution Score (DDS): 0.008
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Aki Ariga a****a@t****m 122
Swapnil Bhasale 1****d 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 9
  • Total pull requests: 15
  • Average time to close issues: 10 months
  • Average time to close pull requests: 5 days
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.56
  • Average comments per pull request: 0.2
  • Merged pull requests: 15
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 1
  • Average time to close issues: about 11 hours
  • Average time to close pull requests: 27 minutes
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • chezou (6)
  • hadley (2)
  • toru-takahashi (1)
Pull Request Authors
  • chezou (14)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 238 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: RTD

Simple TD API Client

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 238 Last month
Rankings
Forks count: 17.8%
Stargazers count: 24.2%
Dependent packages count: 29.8%
Average: 35.4%
Dependent repos count: 35.5%
Downloads: 69.7%
Maintainers (1)
Last synced: 12 months ago

Dependencies

DESCRIPTION cran
  • RcppMsgPack * imports
  • dplyr >= 1.0.0 imports
  • httr >= 1.4.0 imports
  • jsonlite * imports
  • methods * imports
  • purrr * imports
  • readr >= 1.2.1 imports
  • urltools * imports
  • uuid * imports
  • devtools * suggests
  • mockery >= 0.4.1.1 suggests
  • openssl * suggests
  • testthat >= 2.0.1 suggests
  • webmockr * suggests
.github/workflows/check-standard.yml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite