is.historical | R Documentation |
Checks if table contains historical data
is.historical(.data)
.data |
( |
TRUE
if .data
contains the columns: "checksum", "from_ts", and "until_ts". FALSE
otherwise.
conn <- get_connection()
dplyr::copy_to(conn, mtcars, name = "mtcars", temporary = FALSE)
create_table(mtcars, conn, db_table = id("mtcars_historical", conn))
is.historical(get_table(conn, "mtcars")) # FALSE
is.historical(get_table(conn, "mtcars_historical")) # TRUE
close_connection(conn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.