knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
harvestacexchange provides function to harvest animalcrossingexchange.com.
You can install from GitHub with:
# install.packages("remotes") remotes::install_github("abichat/harvestacexchange")
You need to have Node.js installed on your computer.
library(harvestacexchange)
When you install harvestacexchange, you need to install the JS dependencies once.
install_js_dep()
You can harvest turnips prices from r url_turnips
df_turnips <- turnips() df_turnips
and list of events from r url_events
df_events <- events() df_events
harvestacexchange provides some useful filtering functions
df_turnips %>% filter_price_min(price_min = 500) %>% filter_no_tag() df_events %>% filter_words("gold") %>% filter_grade_min(grade_min = 90)
You can also compare these data to old versions and keep only the new lines with filter_old_turnips()
and filter_old_events()
.
If you have configured a Telegram bot,
you can send messages with message_turnips()
and message_events()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.