RTD (version 0.4.1)

update_schema: Update schema of a table

Description

Update schema of a table

Usage

update_schema(conn, dbname, table, schema)

Arguments

conn

Td connection

dbname

Data base name

table

Table name

schema

Schema of the table to be updated

Value

Returns TRUE or FALSE, whether the execution succeeded or not.

Examples

Run this code
# NOT RUN {
conn <- Td(apikey = "xxxxx")
s <- rbind(
c("sepal_length", "double", "sepal_length"),
c("sepal_width", "double", "sepal_width"),
c("petal_length", "double", "petal_length"),
c("petal_width", "double", "petal_width"),
c("species", "string", "species"))
udpate_schema(conn, "mydb", "iris", s)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab