find_past_event_nodes_and_codes: Parse the Swing Plan-It past events page

Description Usage Arguments Details Value See Also

View source: R/gathering.R

Description

Extract the html nodes and event codes (necessary to rebuild the past events urls) from the past events page

Usage

1

Arguments

doc

An xml_document of the past-events page

Details

There are some weirdness with events whose name starts with a number, so we get the event_code by manipulating the event's name.

Value

A named list with two values: event_nodes and event_codes, where event_nodes is a list of xml_node and event_codes is a character vector.

See Also

html_nodes,html_text str_match,case,str_replace


E-dC/swing-events-explorer documentation built on July 17, 2020, 12:59 p.m.