Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3cecb0a5c0 | ||
|
|
d52e0cf147 | ||
|
|
ab783382a8 | ||
|
|
2e561a79ae | ||
|
|
c88e524d3d | ||
|
|
f9fa786ab3 |
@@ -54,7 +54,7 @@ libname NEW "%workPath()/new";
|
||||
```
|
||||
and more.
|
||||
|
||||
SHA256 digest for the latest version of `BasePlus`: F*209FB8198270DEAB6151CE31391A352A065B4EE2689F40433FA9550A7F4AAC18
|
||||
SHA256 digest for the latest version of `BasePlus`: F*6760DDF382E7CA9A1291F028FA7F2BACB68A3D31CEA3A85104E13EA08645AEF1
|
||||
|
||||
[**Documentation for BasePlus**](./baseplus.md "Documentation for BasePlus")
|
||||
|
||||
|
||||
127
baseplus.md
@@ -1,28 +1,30 @@
|
||||
# Documentation for the `BasePlus` package.
|
||||
|
||||
---
|
||||
----------------------------------------------------------------
|
||||
|
||||
*The BASE SAS plus a bunch of functionalities I am missing in BASE SAS*
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
### Version information:
|
||||
|
||||
*The BASE SAS plus a bunch of functionalities I am missing in BASE SAS*
|
||||
|
||||
- Package: BasePlus
|
||||
- Version: 1.38.0
|
||||
- Generated: 2024-03-12T14:26:19
|
||||
- Version: 1.41.0
|
||||
- Generated: 2024-06-09T18:22:04
|
||||
- Author(s): Bartosz Jablonski (yabwon@gmail.com), Quentin McMullen (qmcmullen@gmail.com)
|
||||
- Maintainer(s): Bartosz Jablonski (yabwon@gmail.com)
|
||||
- License: MIT
|
||||
- File SHA256: `F*209FB8198270DEAB6151CE31391A352A065B4EE2689F40433FA9550A7F4AAC18` for this version
|
||||
- Content SHA256: `C*14C505C4EF488A8BE2404A692D55C8B81FC5A6075D8A35F8B6767B34ACF5E48E` for this version
|
||||
- File SHA256: `F*6760DDF382E7CA9A1291F028FA7F2BACB68A3D31CEA3A85104E13EA08645AEF1` for this version
|
||||
- Content SHA256: `C*850DEDF85E36C971713B7E3B29AC703C570A89479D47799F1482216E4F1F52FC` for this version
|
||||
|
||||
---
|
||||
|
||||
# The `BasePlus` package, version: `1.38.0`;
|
||||
# The `BasePlus` package, version: `1.41.0`;
|
||||
|
||||
---
|
||||
|
||||
|
||||
# The BasePlus package [ver. 1.38.0] <a name="baseplus-package"></a> ###############################################
|
||||
# The BasePlus package [ver. 1.41.0] <a name="baseplus-package"></a> ###############################################
|
||||
|
||||
The **BasePlus** package implements useful
|
||||
functions and functionalities I miss in the BASE SAS.
|
||||
@@ -382,7 +384,7 @@ localization (only if additional content was deployed during the installation pr
|
||||
|
||||
--------------------------------------------------------------------
|
||||
|
||||
*SAS package generated by SAS Package Framework, version `20231210`*
|
||||
*SAS package generated by SAS Package Framework, version `20240529`*
|
||||
|
||||
--------------------------------------------------------------------
|
||||
|
||||
@@ -466,7 +468,7 @@ The `BasePlus` package consists of the following content:
|
||||
76. [`%workpath()` macro ](#workpath-macro-76 )
|
||||
|
||||
|
||||
95. [License note](#license)
|
||||
98. [License note](#license)
|
||||
|
||||
---
|
||||
|
||||
@@ -835,7 +837,8 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
in long format, `1` = yes, `0` = no.
|
||||
|
||||
* `fileExt=` - *Optional*, if not missing then indicates
|
||||
file extension to filter out results.
|
||||
a list of space-separated file extensions
|
||||
to filter out results.
|
||||
|
||||
* `maxDepth=0` - *Optional*, if not zero then indicates
|
||||
maximum depth of search in the root path.
|
||||
@@ -2015,6 +2018,11 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
<,roundFactor=>
|
||||
<,rainDropSize=>
|
||||
<,boxPlotSymbolSize=>
|
||||
<,boxPlotLineSize=>
|
||||
<,boxPlotFill=>
|
||||
<,meanShiftLine=>
|
||||
<,meanShiftStep=>
|
||||
<,meanShiftColors=>
|
||||
<,colorsList=>
|
||||
<,monochrome=>
|
||||
<,antialiasMax=>
|
||||
@@ -2022,6 +2030,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
<,footnote=>
|
||||
<,catLabels=>
|
||||
<,xLabels=>
|
||||
<,xBothAxis=>
|
||||
<,catLabelPos=>
|
||||
<,xLabelPos=>
|
||||
<,catLabelAttrs=>
|
||||
@@ -2035,17 +2044,26 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
<,catAxisValueAttrs=>
|
||||
<,xaxisValueAttrs=>
|
||||
<,xaxisTickstyle=>
|
||||
<,xaxisValues=>
|
||||
<,xaxisValuesDisplay=>
|
||||
<,xaxisValuesFormat=>
|
||||
<,xaxisValuesRotate=>
|
||||
<,xaxisOther=>
|
||||
<,sganno=>
|
||||
<,odsGraphicsOptions=>
|
||||
<,sgPlotOptions=>
|
||||
<,vertical=>
|
||||
|
||||
<,VSCALE=>
|
||||
<,KERNEL_K=>
|
||||
<,KERNEL_C=>
|
||||
<,VSCALEmax=>
|
||||
<,minRange=>
|
||||
<,maxRange=>
|
||||
|
||||
<,cleanTempData=>
|
||||
<,codePreview=>
|
||||
<,reuseN=>
|
||||
)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -2086,6 +2104,28 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
|
||||
* `boxPlotSymbolSize` - *Optional*, default value `8px`.
|
||||
Size of symbols on the box plot.
|
||||
If two values are provided, e.g., `16px 8px`,
|
||||
the first is used for diamond size (the mean),
|
||||
the second for "min/max" bars.
|
||||
|
||||
* `boxPlotLineSize` - *Optional*, default value `1px`.
|
||||
Thickness of lines of the box plot.
|
||||
|
||||
* `boxPlotFill` - *Optional*, default value `1`.
|
||||
Transparency of the box plot.
|
||||
Ranges from 0.0 (opaque) to 1.0 (full translucent).
|
||||
|
||||
* `meanShiftLine` - *Optional*, default value `0`.
|
||||
Indicates if a line connecting mean symbol
|
||||
on the Box Plot should be added.
|
||||
|
||||
* `meanShiftStep` - *Optional*, default value `0.1`.
|
||||
Sets how smooth gradient should be
|
||||
on the "mean-shift" line.
|
||||
|
||||
* `meanShiftColors` - *Optional*, default value is empty.
|
||||
List of colours for plotting the "mean-shift" line.
|
||||
Empty indicates that the `colorsList` value will be used.
|
||||
|
||||
* `colorsList` - *Optional*, default value is empty.
|
||||
List of colours for plotting.
|
||||
@@ -2116,6 +2156,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
When empty a data variable name is used.
|
||||
For details see notes below.
|
||||
|
||||
* `xBothAxis` - *Optional*, default value is `1`.
|
||||
Indicates if both (top and bottom) axis (horizontal) should be printed.
|
||||
If not `1` then only bottom axis is displayed.
|
||||
|
||||
* `catLabelPos` - *Optional*, default value `DATACENTER`.
|
||||
Indicates position of the label on group axis (vertical).
|
||||
Allowed values are `BOTTOM`, `CENTER`, `DATACENTER`, and `TOP`.
|
||||
@@ -2139,7 +2183,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
Indicates if the right vertical axis should be displayed.
|
||||
|
||||
* `y2axisLevels` - *Optional*, default value `4`.
|
||||
Indicates if the number of expected levels of values printed
|
||||
Sets the number of expected levels of values printed
|
||||
on the right vertical axis.
|
||||
|
||||
* `y2axisValueAttrs` - *Optional*, default value `Color=Grey`.
|
||||
@@ -2162,11 +2206,34 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
Allowed values are `OUTSIDE`, `INSIDE`, `ACROSS`, and `INBETWEEN`.
|
||||
*For SAS previous to* **9.4M5** *set to missing!*
|
||||
|
||||
* `xaxisValues` - *Optional*, default value is empty.
|
||||
It is a wrapper to provide value for
|
||||
the `XAXIS` statement, for `Values` option.
|
||||
|
||||
* `xaxisValuesDisplay` - *Optional*, default value is empty.
|
||||
It is a wrapper to provide value for
|
||||
the `XAXIS` statement, for `ValuesDisplay` option.
|
||||
|
||||
* `xaxisValuesFormat` - *Optional*, default value is empty.
|
||||
It is a wrapper to provide value for
|
||||
the `XAXIS` statement, for `ValuesFormat` option.
|
||||
Instead using `w.d` format, use its alias `Fw.d`.
|
||||
|
||||
* `xaxisValuesRotate` - *Optional*, default value is empty.
|
||||
It is a wrapper to provide value for
|
||||
the `XAXIS` statement, for `ValuesRotate` option.
|
||||
|
||||
* `xaxisOther` - *Optional*, default value is empty.
|
||||
It is a wrapper to provide value for
|
||||
the `XAXIS` statement options not mentioned above.
|
||||
You can use it to provide, e.g., `GRID`, 'MINOR',
|
||||
`MINORGRID`, `GRIDATTRS=`, or `MINORGRIDATTRS=`.
|
||||
|
||||
* `sganno` - *Optional*, default value is empty.
|
||||
keeps name of a data set for the `sganno=` option
|
||||
of the SGPLOT procedure.
|
||||
|
||||
* `sgPlotOptions` - *Optional*, default value is `noautolegend noborder`.
|
||||
* `sgPlotOptions` - *Optional*, default value is `noautolegend noborder subpixel`.
|
||||
List of additional options values for SGPLOT procedure.
|
||||
|
||||
* `odsGraphicsOptions` - *Optional*, default value is empty.
|
||||
@@ -2206,6 +2273,14 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
for `VSCALE=PROPORTION` between 0 and 1, and
|
||||
for `VSCALE=COUNT` between 0 and N (sample size).
|
||||
|
||||
* `minRange` - *Optional*, default value is `.` (numerical missing).
|
||||
Indicates minimum value for x-axis on the plot, by default calculated form data.
|
||||
Is a global parameter used for all plots.
|
||||
|
||||
* `maxRange` - *Optional*, default value is `.` (numerical missing).
|
||||
Indicates maximum value for x-axis on the plot, by default calculated form data.
|
||||
Is a global parameter used for all plots.
|
||||
|
||||
***Other options***:
|
||||
|
||||
* `cleanTempData` - *Optional*, default value `1`.
|
||||
@@ -2214,6 +2289,11 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
* `codePreview` - *Optional*, default value `0`.
|
||||
Indicates if source code should be MPRINTed to log.
|
||||
|
||||
* `reuseN` - *Optional*, default value `6`.
|
||||
Indicates how many times colours list should be repeated
|
||||
so that colours could be reused in case the number of groups
|
||||
is greater than the colours list length.
|
||||
|
||||
---
|
||||
|
||||
### NOTES: ###################################################################
|
||||
@@ -5427,11 +5507,13 @@ Macro can be executed in two possible ways:
|
||||
run;
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
2) by create a dataset with a list of links and use of `DS=` and `DSvar=` parameters.
|
||||
2) by create a dataset with a list of links and use of `DS=`, `DSvar=`,
|
||||
and `DSout=` parameters:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||
%downloadFilesTo(</path/to/target/directory>
|
||||
, DS=<dataset with list>
|
||||
, DSvar=<variable with list>
|
||||
, DSout=<variable with names for downloaded files>
|
||||
)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@@ -5449,6 +5531,7 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
target
|
||||
<,DS=>
|
||||
<,DSvar=link>
|
||||
<,DSout=scan(link,-1,"/\")>
|
||||
<,inDev=URL>
|
||||
<,outDev=DISK>
|
||||
<,inOptions=>
|
||||
@@ -5467,6 +5550,10 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
*. `DSvar= ` - *Optional*, name of variable in data set
|
||||
with list of files to download.
|
||||
|
||||
*. `DSout=` - *Optional*, name of variable in data set
|
||||
with list of names for to downloaded files.
|
||||
Default value is: `scan(link,-1,"/\")` it is
|
||||
an expression to cut last part of the link.
|
||||
|
||||
*. `inDev=` - *Optional*, type of device used by the
|
||||
`filename()` function to access incoming files.
|
||||
@@ -5490,8 +5577,8 @@ The basic syntax is the following, the `<...>` means optional parameters:
|
||||
|
||||
### EXAMPLES AND USECASES: ####################################################
|
||||
|
||||
**EXAMPLE 1.** Download data from web with diect list and then copy between directories:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||
**EXAMPLE 1.** Download data from web with direct list and then copy between directories:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||
resetline;
|
||||
%downloadFilesTo(~/directoryA)
|
||||
datalines4;
|
||||
@@ -5506,11 +5593,11 @@ datalines4;
|
||||
~/directoryA/WUSS-2023-Paper-189.zip
|
||||
;;;;
|
||||
run;
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
**EXAMPLE 2.** Download data from web using data set with list:
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
|
||||
resetline;
|
||||
data listOfFiles;
|
||||
infile cards;
|
||||
@@ -5522,7 +5609,7 @@ https://www.lexjansen.com/wuss/2023/WUSS-2023-Paper-109.pdf
|
||||
run;
|
||||
|
||||
%downloadFilesTo(R:\directoryC, DS=listOfFiles, DSvar=files)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
---
|
||||
|
||||
|
||||
BIN
baseplus.zip
7045
hist/1.39.0/baseplus.md
Normal file
BIN
hist/1.39.0/baseplus.zip
Normal file
BIN
hist/1.39.0/baseplus_RainCloudPlot_Ex0.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
hist/1.39.0/baseplus_RainCloudPlot_Ex1x.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
hist/1.39.0/baseplus_RainCloudPlot_Ex1y.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
hist/1.39.0/baseplus_RainCloudPlot_Ex2a.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
hist/1.39.0/baseplus_RainCloudPlot_Ex2b.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
hist/1.39.0/baseplus_RainCloudPlot_Ex3.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
hist/1.39.0/baseplus_RainCloudPlot_Ex4.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
7071
hist/1.40.0/baseplus.md
Normal file
BIN
hist/1.40.0/baseplus.zip
Normal file
BIN
hist/1.40.0/baseplus_RainCloudPlot_Ex0.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
hist/1.40.0/baseplus_RainCloudPlot_Ex1x.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
hist/1.40.0/baseplus_RainCloudPlot_Ex1y.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
hist/1.40.0/baseplus_RainCloudPlot_Ex2a.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
hist/1.40.0/baseplus_RainCloudPlot_Ex2b.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
hist/1.40.0/baseplus_RainCloudPlot_Ex3.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
hist/1.40.0/baseplus_RainCloudPlot_Ex4.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
7122
hist/1.41.0/baseplus.md
Normal file
BIN
hist/1.41.0/baseplus.zip
Normal file
BIN
hist/1.41.0/baseplus_RainCloudPlot_Ex0.png
Normal file
|
After Width: | Height: | Size: 36 KiB |
BIN
hist/1.41.0/baseplus_RainCloudPlot_Ex1x.png
Normal file
|
After Width: | Height: | Size: 32 KiB |
BIN
hist/1.41.0/baseplus_RainCloudPlot_Ex1y.png
Normal file
|
After Width: | Height: | Size: 34 KiB |
BIN
hist/1.41.0/baseplus_RainCloudPlot_Ex2a.png
Normal file
|
After Width: | Height: | Size: 45 KiB |
BIN
hist/1.41.0/baseplus_RainCloudPlot_Ex2b.png
Normal file
|
After Width: | Height: | Size: 61 KiB |
BIN
hist/1.41.0/baseplus_RainCloudPlot_Ex3.png
Normal file
|
After Width: | Height: | Size: 82 KiB |
BIN
hist/1.41.0/baseplus_RainCloudPlot_Ex4.png
Normal file
|
After Width: | Height: | Size: 54 KiB |