datastep()
. For multiple values, use the v()
function.output()
function to datastep.datastep()
.datastep()
rename.%eq%
operator from this
package, as it has been moved to the common package. A
dependency on common has been added to the
libr package so that the %eq%
operator
will be loaded and available. However, it is still possible some changes
may be required to make the new location for the %eq%
operator work properly.datastep()
to both input
and output dataset.libname()
function
engines.datastep()
function.datastep()
function.lib_export()
function to export a library to a
different directory and file format.dictionary()
that was causing a warning
when there were no rows on the input data frame.dictionary()
when encountering datetime
variable with multiple POSIX classes.dictionary()
function that wasn’t showing
width attribute.datastep()
when applying attributes to a
calculated variable.libname()
and
lib_copy()
functions to allow user to pass library names as
a variable.libname()
function to
minimize console output if desired.dsarray()
class to
handle data step arrays. This functionality allows iteration across a
list of variables inside a datastep()
.dsattr()
class
to handle data step attributes. This functionality allows the user to
add attributes to datastep variables.datastep()
where it was stripping column
attributes on Base R data frames.libname()
and
lib_load()
functions. The filter parameter allows the user
to specify which data from the library they want loaded into
memory.A package to create data libraries, data dictionaries, and the ability to perform a data step. The major functions are:
libname()
function creates a data librarydictionary()
function creates a data dictionarydatastep()
function steps through data row-by-row%eq%
allows comparison of any two R objects without
errorThe packages also contains a variety of functions to manipulate data
libraries: * lib_load()
: Loads a library into the workspace
* lib_unload()
: Unloads a library from the workspace *
lib_sync()
: Synchronizes the workspace with the library
list * lib_write()
: Writes library data to the file system
* lib_add()
: Adds data to a library *
lib_replace()
: Replaces data in a library *
lib_remove()
: Removes data from a library *
lib_copy()
: Copies a data library *
lib_delete()
: Deletes a data library *
lib_info()
: Returns a data frame of information about the
library * lib_path()
: Returns the path of a data library *
lib_size()
: Returns the size of the data library in bytes *
specs()
: Create a collection of import specifications *
import_spec()
: Define an import specification for a
file