CartoDB/cartoframes

Client for analysis dataset creation

Closed this issue · 1 comments

Add client code for dataset creation endpoint:

from cartoframes.data.services import Datasets

Datasets.name('my_table') \
        .column(name='cartodb_id',type='INT64') \
        .column('the_geom', 'GEOMETRY') \
        .create()

See https://github.com/CartoDB/data-observatory/issues/592 and API DO v1.0

As part of it, it shall deal with api key management (like other CF's components).

Note namespacing and class name are probably to be changed to avoid clashing and to encapsulate the whole feature in its own module.