ModSpace as a SAS DD Replacement

[This article was first published on Mango Solutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

ModSpace is our web-based collaborative platform used by groups of analysts to store, share and discover models, data and scripts in a version controlled environment.

We were approached by a customer looking to replace SAS DD, to explore the possibility of using ModSpace for storing SAS datasets. They wanted to make use of the robust environment which ModSpace provides, whilst allowing users to work on data directly via a server installation of SAS.

To achieve this, we built a set of SAS macros to seamlessly allow users to interact with files stored within ModSpace.

The first step is to add the files to a ModSpace Entry. It contains a number of SAS datasets which I have placed within a simple folder structure:

Modspace1

 

 

 

Each ModSpace Entry has a unique identifier, let’s make a note of this for later – it’s 6042

Now, directly within SAS, I can login to ModSpace, which allows me to access the files in my entry, but prevents me from accessing those I do not have permissions to alter:

ModSpace2

Modspace3

Next I can create a number of libraries from the contents of my Entry’s folders ready for me to use (I can even do this across multiple Entries if I wish):

Modspace4

Now I can run my SAS code, making alterations and additions within the checked out libraries:

modspace5

When I have finished I can check my changes back into ModSpace, with an optional commit comment to explain what I’ve done. This will also tidy up after me and clear out the temporary libraries:

modspace6

These changes are now shown in ModSpace:

Modspace7

 

And that’s it! Thanks to this development piece ModSpace is now an excellent way to store and collaborate on SAS datasets, as well as other project files, for users who work within a SAS environment.

Additionally, users who have SAS installed on their desktop now have the option of using these simple macros or using ModSpace’s Local Working Manager in order to work on their project/script files.

If you would like further information please contact us on [email protected]

To leave a comment for the author, please follow the link and comment on their blog: Mango Solutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)