Module talk:Tabular data: Difference between revisions

Content deleted Content added
Search more than 1 column: an attempt but ...
Line 60:
 
— [[User:Guarapiranga|𝐆𝐮𝐚𝐫𝐚𝐩𝐢𝐫𝐚𝐧𝐠𝐚]] [[User talk:Guarapiranga|☎]] 01:00, 24 June 2021 (UTC)
 
: I've created [[Module:Tabular_data/sandbox]] with a function to try and handle the second search requirement. It doesn't work. However, I can't get the existing module to return data from [[:c:Data:UN:Total population, both sexes combined.tab]].
{|
|-
|<pre>
{{#invoke:Tabular data|lookup
|search_column=date
|search_value=2020-03-16
|output_column=totalConfirmedCases
|COVID-19 cases in Santa Clara County, California.tab}}</pre>
|
{{#invoke:Tabular data|lookup
|search_column=date
|search_value=2020-03-16
|output_column=totalConfirmedCases
|COVID-19 cases in Santa Clara County, California.tab}}
|-
|<pre>
{{#invoke:Tabular data|lookup
|UN:Total population, both sexes combined.tab
|search_value=Afghanistan|search_column=Country
|output_column=Value}}
</pre>
|
{{#invoke:Tabular data|lookup
|UN:Total population, both sexes combined.tab
|search_value=Afghanistan|search_column=Country
|output_column=Value}}
|-
|<pre>
{{#invoke:Tabular data|lookup
|:c:Data:UN:Total population, both sexes combined.tab
|search_value=Afghanistan|search_column=Country
|output_column=Value}}
</pre>
|
{{#invoke:Tabular data|lookup
|:c:Data:UN:Total population, both sexes combined.tab
|search_value=Afghanistan|search_column=Country
|output_column=Value}}
|-
|<pre>
{{#invoke:Tabular data/sandbox|lookup2
|:c:Data:UN:Total population, both sexes combined.tab
|search_value=Afghanistan|search_column=Country
|search_value2=1950|search_column2=Year
|output_column=Value}}
</pre>
|
{{#invoke:Tabular data/sandbox|lookup2
|:c:Data:UN:Total population, both sexes combined.tab
|search_value=Afghanistan|search_column=Country
|search_value2=1950|search_column2=Year
|output_column=Value}}
|}
: What am I missing? —&nbsp;<span style="font-family:Arial;background:#d6ffe6;border:solid 1px;border-radius:5px;box-shadow:darkcyan 0px 1px 1px;">&nbsp;[[User:Jts1882|Jts1882]]&nbsp;&#124;[[User talk:Jts1882|&nbsp;talk]]&nbsp;</span> 13:41, 30 June 2021 (UTC)