Learn R Programming

RTD (version 0.4.1)

Td: Connect to TD

Description

Connect to TD

Usage

Td(endpoint, apikey, user_agent, headers, http_proxy = NULL)

Arguments

endpoint

Endpoint to TD API

apikey

API key for TD

user_agent

User-Agent as character. optional

headers

Default headres in a named character vector. optional

http_proxy

HTTP proxy setting. optional.

Examples

Run this code
# NOT RUN {
client <- Td(
  endpoint = "api.treasuredata.com",
  apikey = "xxxxxx",
  http_proxy = "http://user:pass@proxy.domain.com:8080/"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab