CSBP-CPSE / web-mapping-components

Other
2 stars 2 forks source link

Add support for pagination when using Mapbox's Datasets API #15

Open roikle opened 3 years ago

roikle commented 3 years ago

The current use of Mapbox's Datasets API doesn't support pagination, which can result in truncation of large datasets when making a request (e.g. A dataset contains 3000 records, but the request to get the dataset only returns the first 1200). Using pagination, we can break up the request into a number of smaller requests.

Pagination documentation.