\HeaderA{aRTdb-loadEnv}{loadEnv}{aRTdb.Rdash.loadEnv}
\aliasA{loadEnv}{aRTdb-loadEnv}{loadEnv}
\aliasA{loadEnv,aRTdb-method}{aRTdb-loadEnv}{loadEnv,aRTdb.Rdash.method}
\keyword{environment}{aRTdb-loadEnv}
\begin{Description}\relax
Function that loads the environment of a user from a file to the the database.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S4 method for signature 'aRTdb':
loadEnv(object, filename)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] object of aRTdb class.
\item[\code{filename}] name of the file that contain the dataframe with the themes and views.
\end{ldescription}
\end{Arguments}
\begin{Section}{Structure of the file}
(TODO)
The file is a dataframe in the format:

View (tab)     Theme        Layer         Table\\
View's name     Theme's name Layer's name  Table's name

Ex:\\
View   Theme            Layer           Table\\
View1  IBGE\_Bairros    Theme\_Bairros  recife\_bairros\_geo\_pol\\
View1  IBGE\_Bairros    Theme\_Bairros  bairro2000\_rec\\
View2  LAYER\_ARMADILHAS Theme\_Armadilha ARMADILHAS\\
\end{Section}
\begin{Author}\relax
Marcos Aurelio Carrero, Pedro Ribeiro de Andrade Neto
\end{Author}
\begin{SeeAlso}\relax
See \code{aRTlayer-class} to show the description of this class.
See \code{aRT-env} to describe the environment's format.
\end{SeeAlso}

