How to Use
The Table Reader brick is used to extract data from an HTML table.
After adding the brick, configure the ‘selector’ field similar to how you would configure a JQuery Selector Reader brick - selecting the table you want to extract data from. The ‘orientation’ field changes if the table is treated as vertical or horizontal, or set it to autodetect to infer the orientation.
Inputs
Name | Required | Type | Description |
---|---|---|---|
selector |
string
|
CSS/jQuery selector to select the HTML table element | |
orientation |
string
|
Outputs
Name | Required | Type | Description |
---|---|---|---|
records |
array
|
The records in the table (rows or columns, depending on orientation) | |
fieldNames |
array
|
The field names in the table |