<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calendar fields and TimeSeries function in R in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430776#M14422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jokke,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You will need to create blank rows in Qlik Sense to fill with your forecast data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Bas.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Sep 2017 10:15:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-09-04T10:15:22Z</dc:date>
    <item>
      <title>Calendar fields and TimeSeries function in R</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430775#M14421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm doing a demo on R integration on Sense and I've come across a problem with ts( start=c()) function.&lt;/P&gt;&lt;P&gt;I can't get the start working in my dataset (I can drop the not wanted rows in load script), is there something I should take into consideration while generating the calendar for it to work with R timeseries functions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in short the problem is that I'd like the forecast function to start forecasting from a spesific year instead of from the first date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;P&gt;here's the script for clarification:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R.ScriptEval('library(forecast);'&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'data&amp;lt;-ts(na.omit(q$Variable1),frequency=12, start=c(1998,1));'&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'fit&amp;lt;-auto.arima(data);'&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'res&amp;lt;-forecast(fit, level=0.95, h=q$vForecastPeriods); '&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'n &amp;lt;- length(q$Variable1); '&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'fore &amp;lt;- append(q$Variable1[(q$vForecastPeriods - 1):n],res$mean,after= n - q$vForecastPeriods); '&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'fore;',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(NoZerosco2) as Variable1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(vForecastPeriods) as vForecastPeriods)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430775#M14421</guid>
      <dc:creator />
      <dc:date>2024-11-16T09:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar fields and TimeSeries function in R</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430776#M14422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jokke,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;You will need to create blank rows in Qlik Sense to fill with your forecast data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Bas.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 10:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430776#M14422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-04T10:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar fields and TimeSeries function in R</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430777#M14423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're suggesting that I do this in load script and dump the results in a new dimension? And then use that as a calculation in graph etc?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 10:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430777#M14423</guid>
      <dc:creator />
      <dc:date>2017-09-04T10:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar fields and TimeSeries function in R</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430778#M14424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will need to generate rows in your data set with time dimension in the future but with empty data. When using the expression to do the calculation of your measure. The result of the expression will be used to create the chart.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Sep 2017 08:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Calendar-fields-and-TimeSeries-function-in-R/m-p/1430778#M14424</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-05T08:18:45Z</dc:date>
    </item>
  </channel>
</rss>

