knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
anidb
is an R-package that returns information from the anime database at AniDB. You should not use this package to request the same dataset multiple times on a single day or flood it with requests -- otherwise you can get banned by the AniDB administrators. If using Rmd
, you should add cache = TRUE
in chunks. For interactive use, anidb
employs a simple caching mechanism.
You can install the development version of anidb from GitHub with:
# install.packages("devtools") devtools::install_github("emitanaka/anidb")
knitr::opts_chunk$set(cache.path = "cache/")
library(anidb)
Get all IDs with anime titles that has an approximate matching with "one piece" ignoring case:
aids <- anime_id(title = "one piece")
You can check the official titles of these anime IDs:
official_title(aids)
onepiece <- anime_info(aids)
head(onepiece)
library(ggplot2) ggplot(onepiece, aes(start_date, rating)) + geom_point()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.