Creating the dataset

The first step is to create a dataset, if you haven't created it already. This code generates an empty dataset in the account, which will have a name and description as provided to the datasets.create method:

from mapbox import Datasets
import json
datasets = Datasets(access_token={secrettoken})
create_resp = datasets.create(name="Bay Area Zips",
description = "ZTCA zones for the Bay Area")
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset