I’ve got a file that contains a table that looks like this:
|column title a||column title b|
|row 1 a||row 1 b|
|row 2 a||row 2 b|
|row 3 a||row 3 b|
|row 4 a||row 4 b|
I need to read the rows starting with the second table row, which
excludes the title of the column. Then I need to read each column’s
How can I loop through each row to get each value that I need?
To read a row of values I used
(doc/"/html/body/table/tbody/tr/td").inner_html >> row 1 a
(doc/"/html/body/table/tbody/tr/td").inner_html >> row 1 b
I tried variations of each loops that would increment the table row, but
I don’t have the syntax correct for it to work.