data-raw/word_bank.R

## code to prepare `word_bank` dataset goes here
wordle_answers <- readLines("https://gist.githubusercontent.com/cfreshman/a03ef2cba789d8cf00c08f767e0fad7b/raw/5d752e5f0702da315298a6bb5a771586d6ff445c/wordle-answers-alphabetical.txt")

wordle_allowed <- readLines("https://gist.githubusercontent.com/cfreshman/cdcdf777450c5b5301e439061d29694c/raw/de1df631b45492e0974f7affe266ec36fed736eb/wordle-allowed-guesses.txt")

word_bank <- c(wordle_answers, wordle_allowed)

usethis::use_data(wordle_answers, overwrite = TRUE)
usethis::use_data(wordle_allowed, overwrite = TRUE)
usethis::use_data(word_bank, overwrite = TRUE)
KoderKow/wordle documentation built on Feb. 7, 2022, 10:08 a.m.