IsOptionAvailable Method (Python)
Checks if the IBM® SPSS® Statistics client is licensed for a specified optional component. The result is Boolean. You can obtain a list of all available options from the GetSPSSOptions method.
Syntax
SpssClient.IsOptionAvailable(licOption)
Parameters
The parameter licOption specifies the option.
Value | Description |
---|---|
SpssClient.LicenseOption.BASE | Base |
SpssClient.LicenseOption.PRO_STATS | Regression |
SpssClient.LicenseOption.ADVANCED_STATS | Advanced Statistics |
SpssClient.LicenseOption.CYTEL | Exact Test |
SpssClient.LicenseOption.MARKET_RESEARCH | Categories |
SpssClient.LicenseOption.MISSING_VALUES | Missing Values |
SpssClient.LicenseOption.CONJOINT | Conjoint |
SpssClient.LicenseOption.CUSTOM_TABLES | Custom Tables |
SpssClient.LicenseOption.COMPLEX_SAMPLE | Complex Samples |
SpssClient.LicenseOption.TREEVIEW | Decision Trees |
SpssClient.LicenseOption.VALIDATEDATA | Data Preparation |
SpssClient.LicenseOption.TRENDS | Forecasting |
SpssClient.LicenseOption.PES | Statistics Adaptor |
SpssClient.LicenseOption.NEURAL_NETWORK | Neural Networks |
SpssClient.LicenseOption.RFM | RFM |
Returns
True. The option is available.
False. The option is not available or the license for the option has expired.