mts_list_sources: List tileset sources in your Mapbox account

View source: R/mts.R

mts_list_sourcesR Documentation

List tileset sources in your Mapbox account

Description

List tileset sources in your Mapbox account

Usage

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.

See Also

https://docs.mapbox.com/api/maps/mapbox-tiling-service/#create-a-tileset-source

Examples

## Not run: 
source_list <- mts_list_sources(username = "your_mapbox_username")

## End(Not run)

mapboxapi documentation built on Oct. 17, 2023, 1:10 a.m.