Difference between revisions of "Tables For Data Automation"

From dataZoa Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
<div class="imgGlyph24 imgIdea"></div>&nbsp;Instead of using the API to loop through and fetch many series for a given app (like mapping, or HiCharts), use displays ([[Tables|tables]], [[LatestValues|latest values]])
+
<div class="imgGlyph24 imgIdea"></div>&nbsp;Instead of using the [[DataZoa_API|API]] to loop through and fetch many series for a given app (like mapping, or HiCharts), you can just use [[Displays|displays]] ([[Table_Displays|tables]], [[LatestValues_Displays|latest values]])
 
<br>
 
<br>
You can create a table specifically for your app which contains all the data needed and then fetch it into your own application.
+
Just create a table specifically for your app which contains all the data needed and then use AJAX to fetch it.
 
<br>
 
<br>
 
<br>
 
<br>
 
<div class="imgGlyph24 imgConcept"></div>&nbsp;Some Advantges:
 
<div class="imgGlyph24 imgConcept"></div>&nbsp;Some Advantges:
* You can structure the row (series) labels to be easily identifiable
+
* You can mark the row (series) labels to easily identify their data
 
* Label [[Label_Knockouts|knockouts]] are available
 
* Label [[Label_Knockouts|knockouts]] are available
* Single Fetch for multiple series
+
* Just one fetch for multiple series
* The displays are server cached for speed which is tripped only when underling data actually changes
+
* The displays are server-cached for speed
* Use glname to access multiple datasets via a single table and multiple group lists
+
* A GroupList parameter (<i>glname=...</i> on a table gives access to multiple datasets
* Use latest values to get current value, prior values and/or (%) changes
+
* A LatestValues display gives you current values, prior values and/or (%) changes
 
<br>
 
<br>
 
<div class="imgGlyph24 imgNote"></div>&nbsp;Remember:
 
<div class="imgGlyph24 imgNote"></div>&nbsp;Remember:
* Requires string (or jQuery) parsing of embed html (some classes to assist)
+
* Use jQuery (or similar library) to parse the structured classes in the display and get the data values
* Limit of 50 points of historical data per series for tables.
+
* There is a limit of 50 points of historical data per series for tables.
 
<br>
 
<br>
[[Category:Advanced]][[Category:Displays]][[Category:Publishers]][[Category:Developers]]
+
[[Category:Advanced]][[Category:Displays]][[Category:Publishing]][[Category:Developers]][[Category:API]]

Latest revision as of 07:55, 10 May 2017

 Instead of using the API to loop through and fetch many series for a given app (like mapping, or HiCharts), you can just use displays (tables, latest values)


Just create a table specifically for your app which contains all the data needed and then use AJAX to fetch it.

 Some Advantges:
  • You can mark the row (series) labels to easily identify their data
  • Label knockouts are available
  • Just one fetch for multiple series
  • The displays are server-cached for speed
  • A GroupList parameter (glname=... on a table gives access to multiple datasets
  • A LatestValues display gives you current values, prior values and/or (%) changes


 Remember:
  • Use jQuery (or similar library) to parse the structured classes in the display and get the data values
  • There is a limit of 50 points of historical data per series for tables.