This function adds the overture_call class to a tbl_sql object. It is primarily used internally#' by the open_curtain() function but can also be used directly on tbl_sql #' objects representing Overture Maps data.
Value
A tbl_sql object with the additional class overture_call and attributes overture_type and overture_theme.
Examples
if (FALSE) { # interactive()
# The open_curtain() function already uses as_overture() internally,
# but you can also use it directly:
conn <- stage_conn()
division <- open_curtain("division", tablename = "test")
class(division)
# views
division2 <- tbl(conn, "test")
division2 <- as_overture(division2)
exit_stage(conn)
}