Commit Graph

88 Commits

Author SHA1 Message Date
SASPAC - SAS Packages Archive
dd158fc596 Merge pull request #43 from SASPAC/dev
The BasePlus package [ver. 2.0.1]
2.0.1
2024-07-24 08:14:52 +02:00
Bart Jablonski
8ceeeaadae The BasePlus package [ver. 2.0.1]
## The BasePlus package [ver. 2.0.1]

This release is dedicated to all dyslexics in the world.

### Changes:

New macros:
- [`%expandDataSetsList()`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#expanddatasetslist-macro) allowing to expand data set lists of the form: `a1-a3`, `b_:`, mixed, and `_all_`;
- [`%unifyVarsCaseSize()`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#unifyvarscasesize-macro) allowing to convert all variables in a list of datasets to all-low-case or all-upcase letters.

Both macros are result of recent discussions at `SAS-L` and `communities.sas.com`.

New format/informats:
- [`bpklength.`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#bpklength-format)
- [`bplength.`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#bplength-format)
- Bug fix in spelling (`lenght` vs `length`).

See [documentation](https://github.com/SASPAC/baseplus/blob/main/baseplus.md) for details.

---

SHA256 digest for BasePlus: `F*FB102C9B12E870666C15A651017D48E0141E47D64C11437350D0EC75A7E9E609`

---

### Example 1. New macros.

~~~~sas
data a1 a2 a3 b_x b_y b_z;
  set sashelp.class(obs=1);
run;

%put #%expandDataSetsList(lib=work,datasets=a1-a3 b_:)#;

proc print data=a1;
proc print data=b_x;
run;

%unifyVarsCaseSize(work,a1-a3 b_:)

proc print data=a1;
proc print data=b_x;
run;
~~~~

### Example 2. New formats/informats:

~~~~sas
data _null_;
  x = input('żółw', bpklength.);
  y = input('żółw', bplength.);
  put x= y=;
run;
~~~~

~~~~log
x=4 y=7
~~~~
2024-07-24 08:10:07 +02:00
SASPAC - SAS Packages Archive
f6f520b0d0 Merge pull request #42 from SASPAC/dev
The BasePlus package [ver. 2.0.0]
2.0.0
2024-07-23 22:16:25 +02:00
Bart Jablonski
72595e978a The BasePlus package [ver. 2.0.0]
## The BasePlus package [ver. 2.0.0]

### Changes:

New macros:
- [`%expandDataSetsList()`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#expanddatasetslist-macro) allowing to expand data set lists of the form: `a1-a3`, `b_:`, mixed, and `_all_`;
- [`%unifyVarsCaseSize()`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#unifyvarscasesize-macro) allowing to convert all variables in a list of datasets to all-low-case or all-upcase letters.

Both macros are result of recent discussions at `SAS-L` and `communities.sas.com`.

New format/informats:
- [`bpklenght.`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#bpklenght-format)
- [`bplenght.`](https://github.com/SASPAC/baseplus/blob/2.0.0/baseplus.md#bplenght-format)

See [documentation](https://github.com/SASPAC/baseplus/blob/main/baseplus.md) for details.

---

SHA256 digest for BasePlus: `F*0730DD793516E5C193842126A7EC9D339ADADD19F0F40B071F938CABDE4E66AD`

---

### Example 1. New macros.

~~~~sas
data a1 a2 a3 b_x b_y b_z;
  set sashelp.class(obs=1);
run;

%put #%expandDataSetsList(lib=work,datasets=a1-a3 b_:)#;

proc print data=a1;
proc print data=b_x;
run;

%unifyVarsCaseSize(work,a1-a3 b_:)

proc print data=a1;
proc print data=b_x;
run;
~~~~

### Example 2. New formats/informats:

~~~~sas
data _null_;
  x = input('żółw', bpklenght.);
  y = input('żółw', bplenght.);
  put x= y=;
run;
~~~~

~~~~log
x=4 y=7
~~~~
2024-07-23 22:15:11 +02:00
SASPAC - SAS Packages Archive
4b19a7438c Merge pull request #41 from SASPAC/dev
The BasePlus package [ver. 1.43.0]
1.43.0
2024-07-22 09:08:06 +02:00
Bart Jablonski
e2c4cc66b7 The BasePlus package [ver. 1.43.0]
## The BasePlus package [ver. 1.43.0]

### Changes:

Update to [`%getVars()`](https://github.com/SASPAC/baseplus/blob/1.41.0/baseplus.md#getvars-macro-8) and [`%qgetVars()`](https://github.com/SASPAC/baseplus/blob/1.41.0/baseplus.md#qgetvars-macro-15) macros.

New parameter `ignoreCases=` added. It is an *optional* parameter.
It indicates if variables names search should be case insensitive.
With default value `1`, the search *is* case insensitive.

See [documentation](https://github.com/SASPAC/baseplus/blob/main/baseplus.md) for details.

---

SHA256 digest for BasePlus: `F*68BB953CD732EB43119A3339656670292317FE1C3B764EC57484C7D5C9DF23EB`

---
2024-07-22 09:05:24 +02:00
SASPAC - SAS Packages Archive
817fa27b6b Merge pull request #40 from SASPAC/dev
The BasePlus package [ver. 1.42.1]
1.42.1
2024-07-19 10:33:21 +02:00
Bart Jablonski
bc7b2b5ee8 The BasePlus package [ver. 1.42.1]
## The BasePlus package [ver. 1.42.1]

### Changes:

Update to the
[`%rainCloudPlot()`](https://github.com/SASPAC/baseplus/blob/1.42.1/baseplus.md#raincloudplot-macro-17)
macro, input parameters checks added.

See [documentation](https://github.com/SASPAC/baseplus/blob/main/baseplus.md) for details.

---

SHA256 digest for BasePlus: `F*2129F372D72A34A4FB1F368A581EA33D64AD4D8F3707213D5B9553F3C3122003`

---
2024-07-19 10:29:38 +02:00
SASPAC - SAS Packages Archive
94ec410027 Merge pull request #39 from SASPAC/dev
The BasePlus package [ver. 1.42.0]
1.42.0
2024-07-10 23:10:40 +02:00
Bart Jablonski
95a0f71940 The BasePlus package [ver. 1.42.0]
## The BasePlus package [ver. 1.42.0]

### Changes:

New macro
[`%GenerateOneLiners()`](https://github.com/SASPAC/baseplus/blob/1.42.0/baseplus.md#generateoneliners-macro)
allowing to generate "one liner" functions of the form:

~~~~sas
%macro FUNCTION()/parmbuff;
%sysfunc(FUNCTION&syspbuff)
%mend FUNCTION;
~~~~

See [documentation](https://github.com/SASPAC/baseplus/blob/main/baseplus.md) for details.

---

SHA256 digest for BasePlus: `F*6012D1475AE22A4445C032D8EAE092BE515D8CD2AE390CC087F5987ACB8BCB13`

---

### Example

~~~~sas
%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)
;
~~~~
2024-07-10 23:07:23 +02:00
SASPAC - SAS Packages Archive
3cecb0a5c0 Merge pull request #38 from SASPAC/dev
The BasePlus package [ver. 1.41.0]
1.41.0
2024-06-09 18:54:18 +02:00
Bart Jablonski
d52e0cf147 The BasePlus package [ver. 1.41.0]
## The BasePlus package [ver. 1.41.0]

### Changes:

Update to the
[`%rainCloudPlot()`](https://github.com/SASPAC/baseplus/blob/1.41.0/baseplus.md#raincloudplot-macro-17)
macro, new parameter:
 - `meanShiftLine=`
 - `meanShiftStep=`
 - `meanShiftColors=`
 - `xaxisValues=`
 - `xaxisValuesDisplay=`
 - `xaxisValuesFormat=`
 - `xaxisValuesRotate=`
 - `xaxisOther=`
 - `reuseN=`

See [documentation](https://github.com/SASPAC/baseplus/blob/main/baseplus.md) for details.

---

SHA256 digest for BasePlus: `F*6760DDF382E7CA9A1291F028FA7F2BACB68A3D31CEA3A85104E13EA08645AEF1`

---
2024-06-09 18:51:00 +02:00
SASPAC - SAS Packages Archive
ab783382a8 Merge pull request #37 from SASPAC/dev
The BasePlus package [ver. 1.40.0]
1.40.0
2024-06-06 22:20:35 +02:00
Bart Jablonski
2e561a79ae The BasePlus package [ver. 1.40.0]
## The BasePlus package [ver. 1.40.0]

### Changes:

Update to the
[`%rainCloudPlot()`](https://github.com/SASPAC/baseplus/blob/1.40.0/baseplus.md#raincloudplot-macro-17)
macro, new parameter:
- `boxPlotLineSize=`
- `boxPlotFill=`
- `xBothAxis=`
- `minRange=`
- `maxRange=`

See [documentation](https://github.com/SASPAC/baseplus/blob/main/baseplus.md) for details.

---

SHA256 digest for BasePlus: `F*BD0333B92D7CB639A136CD4994DE0C63F8396E449E45BC714D71D2E15318F42D`

---
2024-06-06 22:16:31 +02:00
SASPAC - SAS Packages Archive
c88e524d3d Merge pull request #36 from SASPAC/dev
The BasePlus package [ver. 1.39.0]
1.39.0
2024-05-29 16:44:04 +02:00
Bart Jablonski
f9fa786ab3 The BasePlus package [ver. 1.39.0]
The BasePlus package [ver. 1.39.0]

Changes:
- new parameter `DSout=` added in `%downloadFilesTo()` macro,

---

File SHA256: `F*3C3A2050E3FF46E1FC0F936634A66FC3F294A3531EFE0A7DC9CE74F2EF17C687` for this version.
2024-05-29 16:36:44 +02:00
SASPAC - SAS Packages Archive
3aaf69ebab Merge pull request #35 from SASPAC/dev
The BasePlus package [ver. 1.38.0]
1.38.0
2024-03-12 14:46:39 +01:00
SASPAC - SAS Packages Archive
1d474a79e4 Merge branch 'main' into dev 2024-03-12 14:46:26 +01:00
Bart Jablonski
9b9d9dea38 The BasePlus package [ver. 1.38.0]
The BasePlus package [ver. 1.38.0]

Update to the `%rainCloudPlot()` macro, new parameter for "vertical" plots added.

Documentation updated and "cleaned".

---

SHA256 digest for BasePlus: `F*209FB8198270DEAB6151CE31391A352A065B4EE2689F40433FA9550A7F4AAC18`

---
2024-03-12 14:42:32 +01:00
Bart Jablonski
21316add63 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

---
2024-03-10 08:27:52 +01:00
SASPAC - SAS Packages Archive
4368138708 Merge pull request #34 from SASPAC/dev
The BasePlus package [ver. 1.37.0]
1.37.0
2024-03-09 13:55:02 +01:00
Bart Jablonski
78e3181151 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

---
2024-03-09 13:53:40 +01:00
SASPAC - SAS Packages Archive
0632c1efad Merge pull request #33 from SASPAC/dev
The BasePlus package [ver. 1.36.0]
1.36.0
2024-01-12 11:02:10 +01:00
Bart Jablonski
371333b102 The BasePlus package [ver. 1.36.0]
The BasePlus package [ver. 1.36.0]

- small functional update for: %today(), %date(), %time(), and %datetime() macros.
- documentation update.
2024-01-12 10:58:13 +01:00
SASPAC - SAS Packages Archive
01c12b68bf Merge pull request #32 from SASPAC/dev
The BasePlus package [ver. 1.35.1]
1.35.1
2023-11-14 15:41:40 +01:00
Bart Jablonski
5062239647 The BasePlus package [ver. 1.35.1]
The BasePlus package [ver. 1.35.1]

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`
2023-11-14 15:40:32 +01:00
SASPAC - SAS Packages Archive
70121f1909 Merge pull request #31 from SASPAC/dev
The BasePlus package [ver. 1.35.1]
2023-11-14 15:29:30 +01:00
Bart Jablonski
9461acd02c The BasePlus package [ver. 1.35.1]
The BasePlus package [ver. 1.35.1]

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*17A6D788704E33C3C2AE51BBAF881F8DE959548603BC95C05D3E165EE2D354E5`
2023-11-14 15:28:27 +01:00
SASPAC - SAS Packages Archive
813fd251e5 Merge pull request #30 from SASPAC/dev
The BasePlus package [ver. 1.35.0]
1.35.0
2023-11-14 14:46:48 +01:00
Bart Jablonski
8903128f28 The BasePlus package [ver. 1.35.0]
The BasePlus package [ver. 1.35.0]

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`
2023-11-14 14:44:47 +01:00
SASPAC - SAS Packages Archive
be6023b73a Merge pull request #29 from SASPAC/dev
The BasePlus package [ver. 1.35.0]
2023-11-14 14:41:14 +01:00
Bart Jablonski
9326cd148c The BasePlus package [ver. 1.35.0]
The BasePlus package [ver. 1.35.0]

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`
2023-11-14 14:37:10 +01:00
SASPAC - SAS Packages Archive
b95c4154df Merge pull request #28 from SASPAC/dev
BasePlus package [ver. 1.34.0]
1.34.0
2023-11-11 17:32:59 +01:00
Bart Jablonski
d769d10a61 BasePlus package [ver. 1.34.0]
BasePlus package [ver. 1.34.0]

- update in unzipArch macro
- new zipArch macro added
- documentation updated
2023-11-11 17:31:17 +01:00
Bart Jablonski
d58133fa40 Merge pull request #27 from SASPAC/main
The BasePlus package [ver. 1.33.0]
2023-11-07 13:27:39 +01:00
Bart Jablonski
2d127ddb9f The BasePlus package [ver. 1.33.0]
## The BasePlus package [ver. 1.33.0]

- New macro [`%unzipArch()`](https://github.com/SASPAC/baseplus/blob/main/baseplus.md#unziparch-macro) added. The macro allows to extract ZIP archive file from SAS session and does not need `XCMD` (is OS independent).
- Documentation updated.

---
2023-11-07 13:21:43 +01:00
Bart Jablonski
c99c9f38f8 Merge pull request #26 from SASPAC/main
update to dev
2023-11-07 13:10:47 +01:00
Bart Jablonski
1cbc5de18f The BasePlus package [ver. 1.33.0]
## The BasePlus package [ver. 1.33.0]

- New macro [`%unzipArch()`](https://github.com/SASPAC/baseplus/blob/main/baseplus.md#unziparch-macro) added. The macro allows to extract ZIP archive file from SAS session and does not need `XCMD` (is OS independent).
- Documentation updated.

---

SHA256 digest for the latest version of `BasePlus`: F*6214654B4575DC8E4BA3CF032924862C2F69A03A6384872BAA9F774EDF6A8DDA
1.33.0
2023-11-07 12:53:30 +01:00
SASPAC - SAS Packages Archive
2cad099652 Merge pull request #25 from SASPAC/dev
The BasePlus package [ver. 1.32.0]
1.32.0
2023-10-26 13:51:16 +02:00
Bart Jablonski
bfd3a9d0d9 The BasePlus package [ver. 1.32.0]
The BasePlus package [ver. 1.32.0]

New `%monthShift()` macro added:

```sas
%put %monthShift(2023,1,-3);
```

Doc. updated.
2023-10-26 13:49:12 +02:00
SASPAC - SAS Packages Archive
ab7feaa15a Merge pull request #24 from SASPAC/dev
The BasePlus package [ver. 1.32.0]
2023-10-26 13:28:50 +02:00
Bart Jablonski
01b1300a55 The BasePlus package [ver. 1.32.0]
The BasePlus package [ver. 1.32.0]

New `%monthShift()` macro added:

```sas
%put %monthShift(2023,1,-3);
```

Doc. updated.
2023-10-26 13:27:22 +02:00
SASPAC - SAS Packages Archive
ce6f6b56ee Merge pull request #23 from SASPAC/dev
The BasePlus package [ver. 1.31.0]
1.31.0
2023-10-12 17:26:03 +02:00
Bart Jablonski
2e1d9df0c3 The BasePlus package [ver. 1.31.0]
The BasePlus package [ver. 1.31.0]

A bunch of "date & time" macro one-liners added:

```sas
%put %today() %date() %time() %datetime();
```

Doc. updated.
2023-10-12 17:20:51 +02:00
SASPAC - SAS Packages Archive
696bceb913 Merge pull request #22 from SASPAC/dev
The BasePlus package [ver. 1.30.0]
1.30.0
2023-09-19 17:53:50 +02:00
Bart Jablonski
0c1e5c7d3a The BasePlus package [ver. 1.30.0]
The BasePlus package [ver. 1.30.0]

- new macro `%repList()` added
- doc. updated

SHA256 digest: `F*B91771D45C781B6806DBB44A3B491A0784D7698B9F3BBBE1A86EE5594834315F`
2023-09-19 17:44:00 +02:00
SASPAC - SAS Packages Archive
8b4b5e721d Merge pull request #21 from SASPAC/dev
The BasePlus package [ver. 1.29.1]
1.29.1
2023-09-04 16:47:35 +02:00
Bart Jablonski
b37f716731 The BasePlus package [ver. 1.29.0]
The BasePlus package [ver. 1.29.0]

Package regenerated with the latest version of the SAS Packages Framework (20230904).

SHA256 digest for the latest version of `BasePlus`: F*2FE68DD9B3692B9D46EF85B82F63C7E65010BF9E89D670FD1779F4670FA03F31
2023-09-04 16:35:24 +02:00
SASPAC - SAS Packages Archive
e81063f308 Merge pull request #20 from SASPAC/dev
The BasePlus package [ver. 1.29.0]
1.29.0
2023-08-24 11:43:24 +02:00
Bart Jablonski
86c8c164d1 The BasePlus package [ver. 1.29.0]
The BasePlus package [ver. 1.29.0]

Three new macros:
- fmt
- infmt
- minclude

Documentation updated.

SHA256 for BasePlus: `F*9EEE4F4B99EA725B60141645AB6A50BFEBA32CE54848593F8D832D907D63CAD7`
2023-08-24 11:32:14 +02:00