14 Commits
1.17 ... 1.18.4

Author SHA1 Message Date
SASPAC - SAS Packages Archive
351fa4f5b1 Merge pull request #8 from SASPAC/dev
The BasePlus package [ver. 1.18.4]
2022-12-15 18:01:40 +01:00
Bartosz Jablonski
df09946ffc The BasePlus package [ver. 1.18.4]
The BasePlus package [ver. 1.18.4]

Package regenerated with the latest version of the SAS Packages Framework.
New macro `%bpPIPE()` added.
2022-12-15 17:56:58 +01:00
SASPAC - SAS Packages Archive
3285ff98cb Merge pull request #7 from SASPAC/dev
The BasePlus package [ver. 1.17.3]
2022-11-27 00:04:55 +01:00
Bartosz Jablonski
a932bd3c74 The BasePlus package [ver. 1.17.3]
The BasePlus package [ver. 1.17.3]

Package regenerated with the latest version of the SAS Packages Framework.
2022-11-27 00:01:11 +01:00
Bart Jablonski
1043d06a99 Merge pull request #6 from SASPAC/dev
BasePlus [1.17.2]
2022-11-21 14:42:57 +01:00
Bartosz Jablonski
76e456c15c BasePlus [1.17.2]
BasePlus [1.17.2]

Package regenerated with the latest version of the SAS Packages Framework.
2022-11-21 14:41:03 +01:00
Bart Jablonski
9be9e8fb4c Merge pull request #5 from SASPAC/main
pull request
2022-11-16 11:40:51 +01:00
Bart Jablonski
8585eac617 Create README.md 2022-11-16 11:36:52 +01:00
Bart Jablonski
0b4581f9c4 Merge pull request #3 from SASPAC/dev
The BasePlus package [ver. 1.17.1]
2022-11-12 17:41:55 +01:00
Bartosz Jablonski
55a27b756d The BasePlus package [ver. 1.17.1]
The BasePlus package [ver. 1.17.1]

Package regenerated with the latest version of the framework (20221112).
2022-11-12 17:38:46 +01:00
Bart Jablonski
0fb4b064e5 Merge pull request #2 from SASPAC/dev
Link to recording from the SAS Explore 2022 conference
2022-11-01 17:46:53 +01:00
Bartosz Jablonski
a56c03ee2e Link to recording from the SAS Explore 2022 conference: "A BasePlus Package for SAS"
Link to recording from the SAS Explore 2022 conference: "A BasePlus Package for SAS"
2022-11-01 17:44:17 +01:00
SASPAC - SAS Packages Archive
fd79234c07 Merge pull request #1 from SASPAC/dev
Update in MD file
2022-09-30 23:24:20 +02:00
Bart Jablonski (yabwon)
2a3a42fd82 Update in MD file
Update in MD file
2022-09-30 23:20:54 +02:00
7 changed files with 129 additions and 54 deletions

31
README.md Normal file
View File

@@ -0,0 +1,31 @@
## `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 ~/)
```
and more.
SHA256 digest for the latest version of `BasePlus`: A6F1977DC4EC22A39DDC7BCE68CF562AF54351A3D385D488EC3067B5A7C0F3CB
[**Documentation for BasePlus**](./baseplus.md "Documentation for BasePlus")

View File

@@ -49,14 +49,14 @@
* [`%LDsNm()` macro](#ldsnm-macro)
* [`%LVarNm()` macro](#lvarnm-macro)
* [`%LVarNmLab()` macro](#lvarnmlab-macro)
* [`%bpPIPE()` macro](#bppipe-macro)
* [License](#license)
---
# The BasePlus package [ver. 1.17] <a name="baseplus-package"></a> ###############################################
# The BasePlus package [ver. 1.18.4] <a name="baseplus-package"></a> ###############################################
The **BasePlus** package implements useful
functions and functionalities I miss in the BASE SAS.
@@ -77,6 +77,8 @@ Kudos to all who inspired me to generate this package:
*Michal Ludwicki*,
*Quentin McMullen*.
Recording from the SAS Explore 2022 conference: [A BasePlus Package for SAS](https://communities.sas.com/t5/SAS-Explore-Presentations/A-BasePlus-Package-for-SAS/ta-p/838246 "A BasePlus Package for SAS") (September 27th-29th, 2022).
---
### BASIC EXAMPLES AND USECASES: ####################################################
@@ -218,63 +220,69 @@ data MyNextDataset;
run;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Example 12**: List, to the log, content of `home` directory.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
%bpPIPE(ls -la ~/)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
Package contains:
1. macro deduplistc
2. macro deduplistp
3. macro deduplists
4. macro deduplistx
5. macro functionexists
6. macro getvars
7. macro ldsn
8. macro ldsnm
9. macro lvarnm
10. macro lvarnmlab
11. macro qdeduplistx
12. macro qgetvars
13. macro qzipevalf
14. macro raincloudplot
15. macro symdelglobal
16. macro unziplibrary
17. macro zipevalf
18. macro ziplibrary
19. format bool
20. format boolz
21. format ceil
22. format floor
23. format int
24. functions arrfill
25. functions arrfillc
26. functions arrmissfill
27. functions arrmissfillc
28. functions arrmisstoleft
29. functions arrmisstoleftc
30. functions arrmisstoright
31. functions arrmisstorightc
32. functions bracketsc
33. functions bracketsn
34. functions catxfc
35. functions catxfi
36. functions catxfj
37. functions catxfn
38. functions deldataset
39. functions semicolonc
40. functions semicolonn
41. format brackets
42. format semicolon
43. proto qsortincbyprocproto
44. functions frommissingtonumberbs
45. functions fromnumbertomissing
46. functions quicksort4notmiss
47. functions quicksorthash
48. functions quicksorthashsddv
49. functions quicksortlight
1. macro bppipe
2. macro deduplistc
3. macro deduplistp
4. macro deduplists
5. macro deduplistx
6. macro functionexists
7. macro getvars
8. macro ldsn
9. macro ldsnm
10. macro lvarnm
11. macro lvarnmlab
12. macro qdeduplistx
13. macro qgetvars
14. macro qzipevalf
15. macro raincloudplot
16. macro symdelglobal
17. macro unziplibrary
18. macro zipevalf
19. macro ziplibrary
20. format bool
21. format boolz
22. format ceil
23. format floor
24. format int
25. functions arrfill
26. functions arrfillc
27. functions arrmissfill
28. functions arrmissfillc
29. functions arrmisstoleft
30. functions arrmisstoleftc
31. functions arrmisstoright
32. functions arrmisstorightc
33. functions bracketsc
34. functions bracketsn
35. functions catxfc
36. functions catxfi
37. functions catxfj
38. functions catxfn
39. functions deldataset
40. functions semicolonc
41. functions semicolonn
42. format brackets
43. format semicolon
44. proto qsortincbyprocproto
45. functions frommissingtonumberbs
46. functions fromnumbertomissing
47. functions quicksort4notmiss
48. functions quicksorthash
49. functions quicksorthashsddv
50. functions quicksortlight
*SAS package generated by generatePackage, version 20220830*
*SAS package generated by generatePackage, version 20221215*
The SHA256 hash digest for package BasePlus:
`56B260350FEB7D5118F581B9EFD1B9CE1F0298DCB9A4C000A7654E2FF3F0298C`
`A6F1977DC4EC22A39DDC7BCE68CF562AF54351A3D385D488EC3067B5A7C0F3CB`
---
# Content description ############################################################################################
@@ -3932,9 +3940,45 @@ The basic syntax is the following, the `<...>` means optional parameters:
---
## >>> `%bpPIPE()` macro: <<< <a name="bppipe-macro"></a> #######################
The bpPIPE() [Base Plus PIPE] macro executes OS command
and print to the log output of the execution.
Under the hood it uses `_` filename reference to PIPE device.
### SYNTAX: ###################################################################
The basic syntax is the following, the `<...>` means optional parameters:
~~~~~~~~~~~~~~~~~~~~~~~sas
%bpPIPE( <OS command goes here> )
~~~~~~~~~~~~~~~~~~~~~~~
**Arguments description**:
* **NO Arguments** - Everything inside brackets is treated as an OS command.
---
### EXAMPLES AND USECASES: ####################################################
**EXAMPLE 1.** List, to the log, content of D and C drives:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
%bpPIPE(D: & dir & dir "C:\")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**EXAMPLE 2.** List, to the log, content of `home` directory:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas
%bpPIPE(ls -halt ~/)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---
## License ####################################################################
Copyright (c) 2020 Bartosz Jablonski
Copyright (c) since 2020 Bartosz Jablonski
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

Binary file not shown.

BIN
hist/1.17.1/baseplus.zip Normal file

Binary file not shown.

BIN
hist/1.17.2/baseplus.zip Normal file

Binary file not shown.

BIN
hist/1.17.3/baseplus.zip Normal file

Binary file not shown.

BIN
hist/1.18.4/baseplus.zip Normal file

Binary file not shown.