Jump to content

How to refresh the data on analysis which was data wrangled through Open source R script


roe mon

Recommended Posts

Hi,

I have an analysis wherein i imported and data wrangled my data through open source R Script data function. One of my data source refreshes its data every 10mins and another data source refreshesevery 15mins. The data in my analysis only updates everytime I re-open the analysis.

How can i refresh the data in my analysis

Do i need to run again my open R source script data function for me to be able to refresh the data in my analysis

I am currently using spotfire 10.3 version

Link to comment
Share on other sites

What is your final goal

 

Should the analysis refresh automatically every X minutes when Spotfire is open This can probably be done with an IronPython script. 

 

Or do you want to have a button  to start your data function Please use a text area and place an action control there.

Link to comment
Share on other sites

The action button can trigger your R data function directly. There is no need for any iron python scripting if you only want to trigger a simple function.

 

1. create a new text area

 

2. right click: edit text area

 

3. insert action item -> data function (see snapshot)

 

4. name your button and select your function (see snapshot)

 

triggerdf.png

 

PS: please use "Add Comment" for a regular reply. Only use "Answer" when you have the answer to the question.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...