knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Introduction to ooklaOpenDataR

The Speedtest by Ookla Global Fixed and Mobile Network Performance Maps dataset provides global fixed broadband and mobile (cellular) network performance metrics in zoom level 16 web Mercator tiles (approximately 610.8 meters by 610.8 meters at the equator). Tile geometries are represented in Well Known Text (WKT) projected in EPSG:4326. Download speed, upload speed, and latency are collected via the Speedtest by Ookla applications for Android and iOS and averaged for each tile. Measurements are filtered to results containing GPS-quality location accuracy. Tiles are updated quarterly, currently Q1 2020 to date.

The goal of this R package is to make it easier to download the specific tiles needed for a project in a reproducible and efficient way. Tiles are hosted through AWS Open Data, and the full documentation for the project is available on GitHub.

Get mobile network data

Both mobile and fixed data are accessed through get_performance_tiles() by specifying the service type and quarter.

library(ooklaOpenDataR)

To get the mobile network data for Q2 2020, use:

mobile_tiles_q2 <- get_performance_tiles(service = "mobile", year = 2020, quarter = 2) 

Simply change the service argument to "fixed" to get fixed broadband data, or the year and quarter arguments to retrieve data from different quarters.

For spatial analysis, add an optional sf = TRUE argument to get the tiles as an sf data frame. We'll use this in the filter-tiles vignette.

Let's see what the data includes by viewing the first few rows:

head(mobile_tiles_q2)


teamookla/ooklaOpenDataR documentation built on Oct. 23, 2021, 9:48 a.m.