Skip to content

Commit

Permalink
Update HtmlProvider docs
Browse files Browse the repository at this point in the history
  • Loading branch information
njlr committed Jul 3, 2024
1 parent 48efd34 commit 1e9e6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/library/HtmlProvider.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The `Load` method allows reading the data from a file or web resource. We could
The following sample calls the `Load` method with an URL that points to a live version of the same page on wikipedia.
*)
// Download the table for the 2017 F1 calendar from Wikipedia
let f1Calendar = F1_2017.Load(F1_2017_URL).Tables.``Season calendaredit``
let f1Calendar = F1_2017.Load(F1_2017_URL).Tables.``Season calendar``

// Look at the top row, being the first race of the calendar
let firstRow = f1Calendar.Rows |> Seq.head
Expand Down Expand Up @@ -146,7 +146,7 @@ let doctorWho = new HtmlProvider<DrWho>()

// Get the average number of viewers for each doctor's series run
let viewersByDoctor =
doctorWho.Tables.``Season 1 (1963-1964) edit``.Rows
doctorWho.Tables.``Season 1 (1963-1964)``.Rows
|> Seq.groupBy (fun season -> season.``Directed by``)
|> Seq.map (fun (doctor, seasons) ->
let averaged =
Expand Down

0 comments on commit 1e9e6ba

Please sign in to comment.