mirror of
https://github.com/SASPAC/baseplus.git
synced 2026-01-03 16:10:05 +00:00
The BasePlus package [ver. 3.1.1] Update: - Minor updates `%dirsAndFiles()` macro. - File SHA256: `F*6394CE27FBCF48D475F682CBCF8CA8B4FDD6D40D2672EF571F4A561BDDF274A6` for this version - Content SHA256: `C*3CA28DF8F3E6D6670D7FD44788D347452F24F4BCF18115873E7EBC742FE30CA4` for this version
66 lines
1.5 KiB
Markdown
66 lines
1.5 KiB
Markdown
## `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:
|
|
```sas
|
|
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.);
|
|
|
|
%put %date() %time() %datetime();
|
|
|
|
%put %date(yymmddn10.) %time(time5.) %datetime(e8601dt.);
|
|
|
|
%put %monthShift(2023,1,-5);
|
|
|
|
%put #%expandDataSetsList(lib=sashelp,datasets=_all_)#;
|
|
|
|
%workLib(ABC)
|
|
```
|
|
and more.
|
|
|
|
SHA256 digest for the latest version of `BasePlus`: F*6394CE27FBCF48D475F682CBCF8CA8B4FDD6D40D2672EF571F4A561BDDF274A6
|
|
|
|
[**Documentation for BasePlus**](./baseplus.md "Documentation for BasePlus")
|
|
|
|
To work with a package use the [**SAS Packages Framework**](https://github.com/yabwon/SAS_PACKAGES/blob/main/README.md "SPFinit").
|