fopi contains with dataset, and a RESTful API for the Freedom of Press Index.
From R
fopi::run_api()
With docker
docker pull jcoenep/fopi
docker run --rm -p 3000:8000 jcoenep/fopi
Visit http://127.0.0.1:3000/__swagger__/ for swagger docs.
You can access the data with.
data(fopi, package = "fopi")
Or via the deployed API but using the package.
You can install the development version of fopi from Github with:
# install.packages("remotes")
remotes::install_github("news-r/fopi")
Content type
Image
Digest
Size
404.2 MB
Last updated
over 6 years ago
docker pull jcoenep/fopi