See how to:
- Understand that JMP Scripts are written using JMP Scripting Language (JSL) and should be saved as a file with a .jsl extension
- Understand Data Import - first prerequisite for creating interactive scripts
- From Excel or CSV: Get the Source Script from the imported data table
- From Database using Query Builder, then save the "Run" script
- Understand importance of data prep and cleaning - second prerequisite for creating interactive scripts
- Requires different strategies
- Data Cleaning Script Assistant add-in assists with some of these tasks
- In JMP 16, new Event Recorder feature will replace most cleanup strategies
- Learn basic shortcuts to Fix Character Data Values, Reshape Data Tables, Subset Rows, Transformations other Derived Variables, Reorder Columns, Delete Columns, Rename Variables, Change Data Type, Change Modeling Type, Change Display Format, Set Column Properties
- Save script to clipboard
- Create scripts interactively using an example
- Import Production Data from CSV
- Add Month Variable
- Graph Sites by the Sum of Units as an ascending bar chart w/ Data Filter on Month
- Summarize the Sum of Units by Month
- Import Targets from Excel
- Join Monthly Summary with Targets
- Calculate Percent of Goal
- Rename some columns with Victor
- Graph
- Follow Best Practices
- Use Good Names
- Avoid Namespace Collisions (Names Default To Here)
- Add comments, notes to yourself to make it easy for you to remember what you did, or for someone else to interpret your work
- Generalize for New Data
- Simplest: Save updated data with same filename
- Next Level: Prompt user to select data with a naked Open()
- Custom JSL: Most flexible
- Use Absolute or Relative File References
- Runs scripts on a schedule
- Use Windows Scheduler to launch script
- For autorun, start script with //!
- End script with Quit() to exit JMP
Note: Q&A is included at times 27:41, 28:38, 29:43, 49:36 and 1:03:00.
Resources
Adding Data Table References
Common Shortcuts