spotfire | IronPython scripts for Spotfire | Command Line Interface library
kandi X-RAY | spotfire Summary
kandi X-RAY | spotfire Summary
According to the Spotfire Technology Network, Spotfire's IronPython scripts are "modern, expressive and has access to the full public Spotfire automation API. Scripts are executed from an action control in the HTML text area. This also enables the use of scripting in the TIBCO Spotfire Web Player. To create an analyses containing IronPython scripts, the analyst needs the Author Scripts license function. Scripts in analysis files that are shared via the library by licensed script authors are considered as trusted. For security reasons you should always examine and approve a script that is not listed as trusted before executing it.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of spotfire
spotfire Key Features
spotfire Examples and Code Snippets
Community Discussions
Trending Discussions on spotfire
QUESTION
I'm trying to automate the upgrading of Spotfire BI system on our Windows servers.
The instructions show a command that can be used to silently install which states the location of the executable file followed by all the required options/parameters as shown with this example:
...ANSWER
Answered 2022-Mar-03 at 18:18Your executable path is based on a drive letter, X:
.
However, in remote sessions mapped drives (drives connected to network shares) aren't available by default, so you have two options:
Establish a (temporary) drive mapping with
New-PSDrive
before calling the executable (e.g.,$null = New-PSDrive X FileSystem \\foo\bar
)More simply, use the full UNC path of the target executable (e.g.
& \\foo\bar\downloads\spotfire\install.exe ...
)
If the target executable isn't actually accessible from the remote session, you'd have to copy it there first, which requires establishing a remote session explicitly and using Copy-Item
-ToSession
- see the docs for an example.
QUESTION
I need to calculate
Dense Rank
in R, like we use in Spotfire. I triedrank()
function in R But thats not worked. For This you can consider below Data Frame which have 5 columns such asCity, Region, Market, Year, Number_measure
You can consider below table for calculation
...
ANSWER
Answered 2022-Feb-18 at 17:28Please Try
dense_rank
function fromdplyr
package
MainData$MeasureRank <- dense_rank(MainData$Number_Measure)
QUESTION
I'm starting with spotfire, I have a dataconector which contains the following columns, I would like to create a new column which indicates if an object found in an 'LSTOR' device is found at a later date in another device other than 'LSTOR'.
Thanks for your help
TimeStamp Equipement Object 10/09/2021 LSTOR A 11/09/2021 MUN3 C 14/09/2021 MUN3 F 12/09/2021 MUN3 A ...ANSWER
Answered 2021-Dec-13 at 09:22I could do it for your sample dataset defining first a column LSTOR_TS as:
QUESTION
I have the following table and I would like to get the number of nulls for each SEQ_ID
ANSWER
Answered 2021-Jul-29 at 09:49I guess you are looking for a Spotfire custom expression not involving R.
This would give you the number of columns that are not null. If you know the total number of columns, you can easily turn it into the number of null columns
QUESTION
I'm working in Tibco Spotfire and would like a way to update all of the data sources in an analysis. This can be done using the script described here: Spotfire - How to add a reload button
I've implemented like this:
...ANSWER
Answered 2021-Jun-09 at 14:43Depending on which version of Spotfire you're using, there are a couple of options as outlined here https://community.tibco.com/wiki/how-refresh-or-reload-data-using-ironpython-script-tibco-spotfire
You could iterate through them and refresh one at a time
QUESTION
In TIBCO Spotfire (I have no control over their code), there is an abstract class - DocumentNode which has a property Transactions implemented like so (according to disassembly):
...ANSWER
Answered 2021-May-07 at 17:41You could only wrap the ITransactions
member.
QUESTION
in Spotfire i need to sum only the max value of every category. For example:
Category Value A 1 A 2 A 2 B 3 B 4 ...ANSWER
Answered 2021-May-06 at 09:06This should work for a calculated column: all the rows filled with the same value
QUESTION
I have a problem, for which I have a solution, but given the amount of data, its very slow. Just putting it out there to see if there is a better solution than this.
So I have two dataframes
df1
...ANSWER
Answered 2021-Apr-15 at 02:30Assuming you want to join the two data frames based on Group and Date you could try using merge.
QUESTION
I am quite puzzled by BigQuery connector on Spotfire. It is taking !extremely! long time to import my dataset in-memory.
my configuration: spotfire on AWS windows instance (8vCPU - 32Go RAM). dataset 50Go >100M rows on BigQuery.
Yes - I should use in-database for such large dataset and push the queries to BigQuery and use Spotfire only for display, but that is not my question today 😋
Today i am trying to understand how the import works and why it is taking so long. this import job started 21hrs ago and it is still not finished. The resources of the server are barely used (CPU, Disk, Network).
Testing done:
- I tried importing data from Redshift and it was much faster (14min for 22Go)
- I checked resources used during import: network speed (Redshift ~ 370Mbs, BQ ~ 8Mbs for 30min), CPU (Redshift ~ 25%, BQ < 5%), RAM (Redshift & BQ ~ 27Go), Disk write (Redshift 30Mbs, BQ 5MBs)
I really don't understand what is Spotfire actually doing for all this time while importing dataset from BQ in memory. There seems to be no use of server resources and there is no indication of status apart from time running.
Any Spotfire experts have any insights on what's happening? Is the connector to BigQuery actually not to be used for In-memory analysis - what is the actual implementation limiting factor?
Thanks! 😇
...ANSWER
Answered 2021-Apr-13 at 15:26We had an issue which is fixed in the Spotfire versions below:
TS 10.10.3 LTS HF-014 TS 11.2.0 HF-002
Please also vote and comment on the idea of using the Storage API when extracting data from BigQuery:
https://ideas.tibco.com/ideas/TS-I-7890
Thanks,
Thomas Blomberg Senior Product Manager TIBCO Spotfire
QUESTION
I have a very simple script that two steps:
- sort a data frame by Column A and Column B
- create a new column (D) that is is made by Labeling sequential rows with identical values in Column C and increase the label by 1 every time the row values change and therefore label all the sequential groups of similar data.
My Python Script is below and works great, I'm not trying to bring this in as a Python data function into Spotfire and having issues connecting it to input and output parameters.
original python script
...ANSWER
Answered 2021-Mar-26 at 15:58I am editing my previous answer because the example data was already sorted, so the actual problem was hidden. Spotfire assumes that the output column is in the same order as the input data table. If the data table is sorted differently within a data function, then it needs sorting back to its original order before outputting a column.
So I created a calculated column ROWID: rowid() that is also input to the data function. This represents the 'natural' order of the rows.
This is the code that worked:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spotfire
You can use spotfire like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page