Description Usage Arguments Value Examples
View source: R/get_performance_tiles.R
get_performance_tiles()
retrieves Ookla broadband performance data for a given quarter.
Data are grouped and summarized by quadkey using a zoom level of 16.
This equates to a tile that is approximately 610.8 meters by 610.8 meters at the equator (18 arcsecond blocks).
1 2 3 4 5 6 7 | get_performance_tiles(
service = c("mobile", "fixed"),
year,
quarter,
sf = FALSE,
...
)
|
service |
Either 'mobile' or 'fixed' depending on whether you want mobile network or fixed broadband data |
year |
Numeric value indicating the year of the time period of interest (e.g., |
quarter |
Numeric value indicating the quarter of interest (e.g., |
sf |
Whether or not to return object as |
... |
Additional arguments passed to |
A data frame or sf
data frame with the following fields:
avg_d_kbps
: The average download speed of all tests performed in the tile, represented in kilobits per second
avg_u_kbps
: The average upload speed of all tests performed in the tile, represented in kilobits per second
avg_lat_ms
: The average latency of all tests performed in the tile, represented in milliseconds
tests
: The number of tests taken in the tile
devices
: The number of unique devices contributing tests in the tile
quadkey
: The quadkey representing the tile. Quadkeys can act as a unique identifier for the tile.
tile
: The WKT representation of tile geometry
1 2 3 4 5 6 7 8 | ## Not run:
# Pulls all fixed broadband tiles from Q2 2020 and returns an `sf` data frame
get_performance_tiles(service = "fixed", year = 2020, quarter = 2, sf = TRUE)
# Get mobile quadkey and average download speeds for Q1 2020
get_performance_tiles(service = "mobile", year = 2020, quarter = 1, col_select = c("quadkey", "avg_d_kbps"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.