Menu

#2879 html table parser should allow units and depend0 to be specified

nextrelease
open
nobody
None
5
2 days ago
2 days ago
No

This would be nice to support in the html table reader. It returns nominal units for the years, because of 1974a and 1974b. If I could assert that the year column is Units.decimalYear I could read the data. Also it would be nice to have depend as with the csv parser.

adultTickets= getDataSet('vap+html:https://www.adventureland.parkhopping.com/wiki/index.php/Ticket_Prices?table=1&column=1')

year= getDataSet('vap+html:https://www.adventureland.parkhopping.com/wiki/index.php/Ticket_Prices?table=1&column=0')

print year, adultTickets

Also I think the editor didn't make it clear which table was which, not showing that so many rows were found.

Discussion