remoteTable

Returns the first Table found on the specified web page.

It fetches the given URL, parses is as HTML, and creates a Table for the first <table> tag found on the page.

Syntax

remoteTable(url)

Parameters

Return value

A Table object or undefined if the table is not found on the page.

Throws a TypeError exception if the URL is invalid. Throws an Error exception if the page cannot be fetched or parsed.

Examples

remoteTable("https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population")