[WIP]
Tools to Access the Open Observatory of Network Interference (‘OONI’)
The ‘Open Observatory of Network Interference’ (http://ooni.io/) is a free software, global observation network for detecting censorship, surveillance and traffic manipulation on the internet. Tools are provided to query the ‘API’ and download both bulk metadata and test observation data files.
The OONI API is nice for cursory analysis or some integrations with other systems (e.g. OONI Explorer relies on it), but it’s currently not possible to run any dataset scan that runs for more than a minute using the OONI API. So the API is not the best option if the query does heavy scanning of metadata. Also, implementation of pagination in the OONI API next_url is far from perfect and may fail with greater than zero offsets.
The plan is to eventually support both API & S3 access from this package.
The following functions are implemented:
ooni_get_measurement
Retrieve an OONI measurementooni_list_files
List measurement filesooni_list_measurements
List measurementsooni_next_pg
Retrieve the next page of results from an OONI paginated API endpointooni_pg_info
Retrieve pagination metadata for a current request result object
devtools::install_github("hrbrmstr/ooni")
# OR
devtools::install_git("git://gitlab.com/hrbrmstr/ooni")
library(ooni)
# current verison
packageVersion("ooni")
## [1] '0.1.0'