Convert lazy table to named VIEW
Usage
# S4 method for class 'ANY'
to_view(x, name, temporary = TRUE, overwrite = TRUE, ...)Arguments
- x
tbl_sqlRequired.tbl_sqlobject to convert to a VIEW.- name
characterRequired. Name to assign VIEW within database. Auto-generated if none provided with prefix"tmp_view_"- temporary
logicalIfTRUE(default), the VIEW will not be saved in the database- overwrite
logicalIfTRUE(default), the VIEW will overwrite an existing VIEW of the same name- ...
Additional arguments passed to
DBI::dbExecute()