Skip to contents

All functions

add_match_col()
Create column with matched value (base R)
check_rtxt()
Function for checking robots.txt file
classify_wada_substances()
Classify banned WADA substances
clean_dates()
Clean sanction dates
clean_sports()
Clean/tidy USADA sports
clip_top_file()
Copy the path to top data file in extdata/ folder on the clipboard
create_word_boundary()
Create a regular expression with word boundaries
dtstamp()
Insert date/time stamp
export_data()
Export data object to path
export_extdata()
Export data to inst/extdata/ or inst/extdata/raw
get_recent()
Return the most recent modification date
get_recent_file()
Return the most recent data file in folder
guess_basename()
Guess filename for download from url
make_regex()
Create a Regular Expression Pattern
`%nin%`
Not in (not-in operator for R.)
`%otherwise%`
null-coalescing operator. See purrr for details.
pivot_term_long()
Parse string into individual terms (as tibble)
polite_download_file()
Polite download
polite_fetch_rtxt()
Function to get robots.txt is structured form. Memoised
polite_read_html()
function that actually fetches response from the web
process_text()
Process raw data
reclass_substance()
Re-classify a specific WADA substance
scrape_sanctions()
Scrape the UASA website sanctions data
split_cols()
Separate column into multiple columns
theme_ggp2g()
ggplot2 theme (doping data)
verify_inst_path()
Verify inst/ path