April 2018
Beginner to intermediate
440 pages
11h 36m
English
Because CARTOframes incorporates the Pandas dataframes objects, which can be edited in memory, and writes to the datasets stored in the CARTO account, we can create scripts that will automate the upload of geospatial data. Datasets can be updated entirely, or individual rows and values can be updated using Pandas data methods such as replace. This, coupled with Builder, the CARTO web-map deployment tool, makes it easy to create GIS with a web-map frontend and cloud data storage that can be managed using scripting.
In this example code, the name of the state that contains the NBA arena is found using the intersect query. The names are added to a list, and the list is added to the arena dataframe as a new column ...