Releases: SASPAC/baseplus
The BasePlus package [ver. 1.42.0]
The BasePlus package [ver. 1.42.0]
Changes:
New macro
%GenerateOneLiners()
allowing to generate "one liner" functions of the form:
%macro FUNCTION()/parmbuff;
%sysfunc(FUNCTION&syspbuff)
%mend FUNCTION;
See documentation for details.
SHA256 digest for BasePlus: F*6012D1475AE22A4445C032D8EAE092BE515D8CD2AE390CC087F5987ACB8BCB13
Example
%GenerateOneLiners(
listOfFunctions=SUM MEAN MEDIAN VAR
, prefix=_)
%put
%_SUM(1,2,3,4,5,6)
%_MEAN(1,2,3,4,5,6)
%_MEDIAN(1,2,3,4,5,6)
%_VAR(1,2,3,4,5,6)
;
The BasePlus package [ver. 1.41.0]
The BasePlus package [ver. 1.41.0]
Changes:
Update to the
%rainCloudPlot()
macro, new parameter:
meanShiftLine=
meanShiftStep=
meanShiftColors=
xaxisValues=
xaxisValuesDisplay=
xaxisValuesFormat=
xaxisValuesRotate=
xaxisOther=
reuseN=
See documentation for details.
SHA256 digest for BasePlus: F*6760DDF382E7CA9A1291F028FA7F2BACB68A3D31CEA3A85104E13EA08645AEF1
The BasePlus package [ver. 1.40.0]
The BasePlus package [ver. 1.40.0]
Changes:
Update to the
%rainCloudPlot()
macro, new parameter:
boxPlotLineSize=
boxPlotFill=
xBothAxis=
minRange=
maxRange=
See documentation for details.
SHA256 digest for BasePlus: F*BD0333B92D7CB639A136CD4994DE0C63F8396E449E45BC714D71D2E15318F42D
The BasePlus package [ver. 1.39.0]
The BasePlus package [ver. 1.39.0]
Changes:
Update to the
%downloadFilesTo()
macro, new parameter DSout=
added.
Documentation updated and "cleaned".
SHA256 digest for BasePlus: F*3C3A2050E3FF46E1FC0F936634A66FC3F294A3531EFE0A7DC9CE74F2EF17C687
The BasePlus package [ver. 1.38.0]
The BasePlus package [ver. 1.38.0]
Changes:
Update to the
%rainCloudPlot()
macro, new parameter for "vertical" plots added.
Documentation updated and "cleaned".
SHA256 digest for BasePlus: F*209FB8198270DEAB6151CE31391A352A065B4EE2689F40433FA9550A7F4AAC18
Example:
%RainCloudPlot(
sashelp.cars
, Origin
, Invoice
, vertical = 1
)
The BasePlus package [ver. 1.37.0]
The BasePlus package [ver. 1.37.0]
Changes:
Update to the
%rainCloudPlot()
macro.
New macro
%iffunc()
added.
Documentation updated.
SHA256 digest for BasePlus: F*8155BFE82F7833E4B0DA24D81DBDFC58463906D6032B1F0161772DADE84BE790
Example:
%let x = A B C;
%let y = %iffunc((%scan(&x.,1)=A),Starts with "A"., Does not start with "A".);
%put &=y.;
The BasePlus package [ver. 1.36.0]
The BasePlus package [ver. 1.36.0]
Changes:
Functional update (formats can be used) to macros: %today()
, %date()
, %time()
, and %datetime()
introduces in release 1.31.0.
Documentation updated.
SHA256 digest for BasePlus: F*B9F1B3243FD3956F0B68652C21EA1EBC19F3EB0931774A57FECE1F02A9448108
Example:
%put %date() %time() %datetime();
%put %date(yymmddn10.) %time(time5.) %datetime(e8601dt.);
The BasePlus package [ver. 1.35.1]
The BasePlus package [ver. 1.35.1]
Changes:
New %downloadFilesTo()
macro added (and fixed).
Macro allows conveniently download data from internet or local locations to a directory pointed by user.
Documentation updated.
SHA256 digest for BasePlus: F*BCD89EDF856762EB8E441BC53933774483258453D1F7D74185F8A1861E414B0E
Example:
%downloadFilesTo(</path/to/target/directory>)
datalines4;
https://www.lexjansen.com/wuss/2023/WUSS-2023-Paper-189.pdf
https://www.lexjansen.com/wuss/2023/WUSS-2023-Paper-189.zip
;;;;
run;
The BasePlus package [ver. 1.35.0]
The BasePlus package [ver. 1.35.0]
Changes:
New %downloadFilesTo()
macro added.
Macro allows conveniently download data from internet or local locations to a directory pointed by user.
Documentation updated.
SHA256 digest for BasePlus: F*62344EAA8C0DD95CCB164B5C7A91B33865B3D19CD5A2A3EDAC4C31E0541D04C9
Example:
%downloadFilesTo(</path/to/target/directory>)
datalines4;
https://www.lexjansen.com/wuss/2023/WUSS-2023-Paper-189.pdf
https://www.lexjansen.com/wuss/2023/WUSS-2023-Paper-189.zip
;;;;
run;
The BasePlus package [ver. 1.34.0]
The BasePlus package [ver. 1.34.0]
- Update in the
%unzipArch()
macro, new parameters added. - New
%zipArch()
macro, for zipping directories, added. - Documentation updated,
Updates inspired by my discussion with Louise Hadden during the WUSS 2023 conference.
SHA256 digests for BasePlus: F*D84CE41A550DC2D5C092C70C04A796E8329F34087A603BEF0CD366910C162E80
Example:
Zipping and unzipping directories:
options dlCreateDir;
libname arch1 "%workPath()/testArch1";
libname arch2 "%workPath()/testArch2";
filename arch1 "%workPath()/testArch1";
data _null_;
file arch1(test1.txt);
put "text for test file 1";
data _null_;
file arch1(test2.txt);
put "text for test file 2";
data _null_;
file arch1(test3.txt);
put "text for test file 3";
run;
data arch1.class(index=(name));
set sashelp.class;
run;
data arch1.cars(index=(model));
set sashelp.cars;
run;
%zipArch(
archName2.zip
, pathRef = arch1
, target = %workPath()/testArch2
, list = 1
, overwrite = 1
)
%unzipArch(
archName2.zip
, path = %workPath()/testArch2
, target = %workPath()/testArch2
, clean=1
, list=1
);