Convert R DataFrame to SLC Dataset
Usage
write_slc_data(data, dataset_name, connection = NULL)
Arguments
- data
R data.frame to convert
- dataset_name
Name for the SLC dataset
- connection
SLC connection object. If NULL (default), a new connection will be created automatically.
Examples
if (FALSE) { # \dontrun{
# Initialize connection
conn <- slc_init()
# Write R dataframe to SLC
write_slc_data(mtcars, "mtcars_sas", conn)
# Verify the dataset was created
print("Dataset written successfully")
} # }