knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
Datasets of keywords and urls censored on the Chinese internet, taken from greatfire.org
Though not publicly mentioned greatfire.org has an API publicly available, it's not difficult to uncover. However, as I very much appreciate their project this package does not provide direct access to it and instead provides two datasets that I pledge to keep updated. If it is too outdated please open an issue.
Last updated: r Sys.time()
You can install greatfire
from Github using via the remotes
or devtools
package.
# install.packages("remotes") remotes::install_github("news-r/greatfire")
Both datasets are rather large and therefore not lazily loaded, you therefore have to explicitly call the data
function.
library(greatfire) data(censored_keywords) nrow(censored_keywords) head(censored_keywords) data(censored_urls) nrow(censored_urls) head(censored_urls)
There are two convenience search_*
functions to search through the data.
gh <- search_urls("github.com") knitr::kable(gh)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.