The improvements include:
- Switch to WikipediR for extracting query examples
- Switch from POSIXlt to POSIXct
- Switch from GET to POST
- Rate limiting
- Using tidyverse family of packages (
readr::read_csv
is especially helpful for automatic conversion of date-time columns)