Skip to content

Commit

Permalink
Fix formule 1 example.
Browse files Browse the repository at this point in the history
  • Loading branch information
nojaf committed Nov 10, 2023
1 parent 6e7d332 commit dc356ce
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 calendaredit``

// 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) edit``.Rows
|> Seq.groupBy (fun season -> season.``Directed by``)
|> Seq.map (fun (doctor, seasons) ->
let averaged =
Expand Down

0 comments on commit dc356ce

Please sign in to comment.