spd_best_servers: Find "best" servers (latency-wise) from master server list

Description Usage Arguments Value Note

View source: R/bestest.r

Description

The input servers data frame will be truncatred to the first max and HTTP and ICMP probe tests will be performed to determine initial retrieval speed and latency. Not all servers respond to ICMP requests due to the way their routers, switches or firewalls are configured.

Usage

1
spd_best_servers(servers = NULL, config = NULL, max = 10)

Arguments

servers

if not NULL, then the data frame from spd_servers(). If NULL, then spd_servers() will be called to retrieve the server list.

config

client configuration retrieved via spd_config(). If NULL it will be retrieved

max

the maximum numbers of "best" servers to return. This is hard-capped at 25 since Oookla is a free/sponsored service and if you plan on abusing it you'll have to write your own code to do so. Default is 10.

Value

server list in order of latency closeness (retrieval speed column included)

Note

the list of target servers will be truncated to the first max. max may amount may not be returned if there were errors connecting to servers.


hrbrmstr/speedtest documentation built on March 28, 2020, 6:04 p.m.