List tileset sources in your Mapbox account

mts_list_sources(
  username,
  sortby = c("created", "modified"),
  limit = 100,
  start = NULL,
  access_token = NULL
)

Arguments

username

Your Mapbox username

sortby

One of "created" or "modified"; the returned data frame will be sorted by one of these two options.

limit

The number of tileset sources to return; defaults to 100. The maximum number of tileset sources returned by this endpoint is 2000.

start

The source ID at which to start the list of sources; defaults to NULL.

access_token

Your Mapbox access token with secret scope.

Value

A data frame containing information on your tileset sources.

Examples

if (FALSE) {
source_list <- mts_list_sources(username = "your_mapbox_username")
}