| 3432 |
mrmanese |
1 |
\name{sdfImportSQLite}
|
|
|
2 |
\alias{sdfImportSQLite}
|
|
|
3 |
\title{Import SQLite data to an SQLite Data Frame}
|
|
|
4 |
\description{
|
|
|
5 |
Import from SQLite tables directly.
|
|
|
6 |
}
|
|
|
7 |
\usage{
|
|
|
8 |
sdfImportSQLite(dbfilename, tablename, iname = tablename)
|
|
|
9 |
}
|
|
|
10 |
\arguments{
|
|
|
11 |
\item{dbfilename}{file name of the SQLite database.}
|
|
|
12 |
\item{tablename}{name of the table inside the SQLite database that will be imported}
|
|
|
13 |
\item{iname}{the internal name of the created SDF}
|
|
|
14 |
}
|
|
|
15 |
\value{
|
|
|
16 |
The SDF containing the imported data.
|
|
|
17 |
}
|
|
|
18 |
\author{Miguel Angel R. Manese}
|
|
|
19 |
\note{
|
|
|
20 |
Row names is just the sequence from 1 to number of rows.
|
|
|
21 |
Text columns are converted into factors. Blobs are not supported. }
|
|
|
22 |
\seealso{ \code{\link[SQLiteDF]{sdfImportDBI}} }
|
|
|
23 |
\examples{
|
|
|
24 |
\dontrun{
|
|
|
25 |
data.sdf <- sdfImportSQLite("data.db", "fuel_frame", iname="fuel_frame")
|
|
|
26 |
}
|
|
|
27 |
}
|
|
|
28 |
\keyword{database}
|