Learning SAS? Welcome to the exclusive online community for all SAS learners.

Using your own data in Enterprise Miner for SAS OnDemand for Academics

Reply
SAS Super FREQ
Posts: 388

Using your own data in Enterprise Miner for SAS OnDemand for Academics

 
SAS OnDemand for Academics users will often use data provided by instructors. You may also want to use your own data.
 
Using your own data in SAS Enterprise Miner in this context is easy. Just follow the steps below. (Note: Here is a useful document for instructors on uploading data for use in Enterprise Miner.)
 
1. First, upload your data using SAS Studio. All SAS OnDemand for Academics users have access to SAS Studio. The process of uploading data is documented in quite a few places, including here. A video explaining the process is here. (If you are an instructor, here is how you upload data for your students.)
 
2. After you have uploaded the data to a folder on the server, right-click on the folder and select Properties from the context menu. Make a note of the Location, or, even better, copy it.
 
3. Now start SAS Enterprise Miner and create a new Project or open an existing Project.
 
4. Access the start code for the Project. If you want to be able to use the data when you start a new session using this Project, you will probably want to allocate the library via the Project Start code. This means that a libname statement will be issued each time to open the project.
 
The libname will be based on the Location property we copied above. For example, this might be the libname you put in the Project Start Code:
 
libname census '/home/mary.jones/census';
 
With this libname statement in your Project Start Code, the library will be available for use with your project.
 
Here is a recap of what we've done:
-- Uploaded our data using the SAS Studio interface.
-- Noted the Location of the folder containing the data.
-- Open or create the SAS Enterprise Miner project.
-- Add a libname statement to the project Start Code so it will be always accessible from within our project.
 
That's it! Note that if your data is in the form of a text file or CSV file or some other format, you will need to run code to put it into a SAS dataset before it can be used as such.
 
If you have additional thoughts, techniques, tips, or shortcuts, please add them here!
 
 

 

Ask a Question
Discussion stats
  • 0 replies
  • 441 views
  • 2 likes
  • 1 in conversation