replyr_dataServiceName: Return a cannonical name of the data service hosting a given data object.
Description
Return a cannonical name of the data service hosting a given data object.
Usage
replyr_dataServiceName(df, expectedNames = c("src_sqlite", "spark_connection",
"src_spark", "src_mysql", "src_postgres"))
Arguments
expectedNames
some names to canonicalize to.
Value
cannonical service name (lenght 1 character array)
Examples
Run this code
replyr_dataServiceName(data.frame(x=1))
replyr_dataServiceName(dplyr::as.tbl(data.frame(x=1)))
Run the code above in your browser using DataLab