parse_scores: Parses the scores of the html wiki season page.

Description Usage Details

View source: R/get-scores.R

Description

parse_scores

Usage

1
parse_scores(html, season)

Details

The xpath works like this:

1) Look for a Results id.

2) Go to the parent. I'm not specific here about what the parent should be like because it can be h2, h3, ...

3) Look for the next following sibling. Next because [1] is specified.

4) Get each cell of the table.


IsaacVerm/scoresJpl documentation built on Dec. 7, 2019, 7:17 p.m.