Difference between revisions of "Table2Base"

From Testiwiki
Jump to: navigation, search
(first draft of ideas)
 
(clarification of task)
Line 9: Line 9:
 
Syntax which idea is based on:
 
Syntax which idea is based on:
  
{{observation list
+
{{datum list
 
| Year
 
| Year
 
| Country
 
| Country
Line 17: Line 17:
 
| observations = 1
 
| observations = 1
 
}}
 
}}
{{observation|2000|Finland| 40000 |desc=[[WHO mortality data]]}}
+
{{datum|2000|Finland| 40000 |desc=[[WHO mortality data]]}}
{{observation|2001|Finland| 50000 |desc=[[WHO mortality data]]}}
+
{{datum|2001|Finland| 50000 |desc=[[WHO mortality data]]}}
 
|}
 
|}
 
* Indexes:
 
* Indexes:
Line 29: Line 29:
 
* we should not use exactly the same syntax as wikipages
 
* we should not use exactly the same syntax as wikipages
 
* tag or parser?
 
* tag or parser?
* are explanation and observation really necessary? Could it look more like this?
+
* {{defend_invalid|1 |are explanation and observation really necessary? Could it look more like this?|--13:59, 6 October 2010 [[user:Juha Villman|Juha Villman]]}}
 +
*: {{attack|2 |The title ''explanation'' is not necessary. Also the title for observations is only necessary if there are more than one observation columns. For example the data below could be in a format where there are three columns (''Country'', ''2000'', and ''2001'') and only one row for the data. In this case, it is necessary to tell that the heading for the two observation columns is ''Year'', because this heading is used as index name (with locations 2000 and 2001). But is it true that the observation index name does not need to show up as a heading in the table. I changed the [[:Template:Datum list]] accordingly.|--[[User:Jouni|Jouni]] 15:52, 7 October 2010 (UTC)}}
  
 
{|class="wikitable sortable" {{prettytable}}
 
{|class="wikitable sortable" {{prettytable}}

Revision as of 15:52, 7 October 2010

Table2Base is an extension which enables direct upload of data from wikipages to Opasnet Base.

Currently work in progress!

Notes:

Syntax which idea is based on:

Table2Base
(Unit: #. Number of explanation columns: 2. Observation index: Observation.
Year Country Mortality Description
2000 Finland 40000 WHO mortality data
2001 Finland 50000 WHO mortality data
  • Indexes:
    • year
    • country
  • result
    • mortality

Possible solutions:

  • we should not use exactly the same syntax as wikipages
  • tag or parser?
  • 1 are explanation and observation really necessary? Could it look more like this? --13:59, 6 October 2010 Juha Villman
    2 : The title explanation is not necessary. Also the title for observations is only necessary if there are more than one observation columns. For example the data below could be in a format where there are three columns (Country, 2000, and 2001) and only one row for the data. In this case, it is necessary to tell that the heading for the two observation columns is Year, because this heading is used as index name (with locations 2000 and 2001). But is it true that the observation index name does not need to show up as a heading in the table. I changed the Template:Datum list accordingly. --Jouni 15:52, 7 October 2010 (UTC)
Table2Base
Year Country Mortality Description
2000 Finland 40000 WHO mortality data
2001 Finland 50000 WHO mortality data