From d967d7ab50d56a38f646897f35556b86003e84c8 Mon Sep 17 00:00:00 2001 From: yabwon Date: Thu, 4 Jun 2020 10:36:33 +0200 Subject: [PATCH] version 20200504 updates in "The User" part --- README.md | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 850fa61..0128355 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,17 @@ In this repository we are presenting a **standalone Base SAS framework** which a - Sasensei Internationa Dojo: `https://www.youtube.com/watch?v=BFhdUBQgjYQ&t=0s` ### The User: -**Update:** `%installPackage()` **macro is available**. +**Update**\[June 3rd, 2020\]**:** `%installPackage()` **macro is available**. The `%installpackage()` macro is embedded in the `loadpackage.sas` part of the framework. To use a package: - Create a folder for your packages, under Windows OS family, e.g. `C:/SAS_PACKAGES` or under Linux/UNIX OS family, e.g. `/home//SAS_PACKAGES`. + +and then either: + - Download the `loadpackage.sas` file (user part of the framework) into the packages folder. - \[Optional\] Download the `.zip` file into the packages folder. -- Execute: +- and Execute: ``` filename packages ""; /* setup directory for packages */ %include packages(loadpackage.sas); /* enable the framework */ @@ -29,7 +32,20 @@ filename packages ""; /* setup directory for pac %helpPackage(packageName) /* get help about the package */ %loadPackage(packageName) /* load the package content into the SAS session */ ``` - **Workshop video for User: `https://youtu.be/qX_-HJ76g8Y`** + +or if you need it just for "one time" only Execute: + +``` +filename packages ""; /* setup directory for packages */ +filename spfinit url "https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/master/loadpackage.sas"; +%include spfinit; /* enable the framework */ + +%installPackage(packageName) /* install the package */ +%helpPackage(packageName) /* get help about the package */ +%loadPackage(packageName) /* load the package content into the SAS session */ +``` + + **Workshop video for User**\[May 6th, 2020\]**: `https://youtu.be/qX_-HJ76g8Y`** ### The Developer: To create your own package: