inameSdf {SQLiteDF}R Documentation

SDF Internal Name

Description

Get the internal name of an SDF.

Usage

inameSdf(sdf)

Arguments

sdf a sqlite.data.frame

Details

Internal names are those that are listed in lsSdf, not the names of the R variables holding a reference to SDFs. There could be many R variable that refers to the same SDF (when inameSdf(sdf1) == inameSdf(sdf2)).

Value

A 2 element string vector with the internal name of the SDF and the SQLite database file name where it is stored.

Author(s)

Miguel A. R. Manese

See Also

sqlite.data.frame lsSdf

Examples

iris.sdf1 <- sqlite.data.frame(iris)  
inameSdf(iris.sdf1) # c("data1", "data1.db"), or generally data<n>
iris.sdf2 <- sqlite.data.frame(iris, "iris")
inameSdf(iris.sdf2) # c("iris", "iris.db"), or if it already exists, iris<n>

[Package SQLiteDF version 0.1.32 Index]