mirror of
https://github.com/SASPAC/baseplus.git
synced 2026-01-07 01:30:05 +00:00
1.24.0
The BasePlus package [ver. 1.24.0] Six new utility macros for the BasePlus: - `%letters()` - allows to print a list of Roman letters, - `%filePath()` - from fileref returns path to a file, - `%libPath()` - from libref returns path to a library, - `%workPath()` - returns path to the `WORK` library, - `%translate()` - a wrapper to translate() function, - `%tranwrd()` - a wrapper to tranwrd() function. Documentation updated.
basePlus - The BASE SAS plus a bunch of functionalities I am missing in BASE SAS :-)
The BasePlus package adds a bunch of functionalities I am missing in BASE SAS, such as:
call arrMissToRight(myArray);
call arrFillMiss(17, myArray);
call arrFill(42, myArray);
rc = delDataset("DataSetToDrop");
string = catXFn("date9.", "#", myArray);
format x bool.;
%put %getVars(sashelp.class, pattern = ght$, sep = +, varRange = _numeric_);
%rainCloudPlot(sashelp.cars,DriveTrain,Invoice)
%zipLibrary(sashelp,libOut=work)
%bpPIPE(ls -la ~/)
%dirsAndFiles(C:\SAS_WORK\,ODS=work.result)
%put %repeatTxt(#,15,s=$) HELLO SAS! %repeatTxt(#,15,s=$);
%put %intsList(42);
%put %letters(1:26:1);
%splitDSIntoBlocks(5, sashelp.class, classBlock)
%splitDSIntoParts(7, sashelp.cars, carsPart)
filename f temp;
%put %filePath(f);
%put %libPath(WORK);
libname NEW "%workPath()/new";
%put %translate(%str("A", "B", "C"),%str(%",),%str(%' ));
%put %tranwrd(Miss Joan Smith,Miss,Ms.);
and more.
SHA256 digest for the latest version of BasePlus: F*B297440903337E1AE6F12A6001B80B8AB743079847D16D63DF1C649AE51AA411
To work with a package use the SAS Packages Framework.
Description
Languages
SAS
100%