In order to execute the code snippet below, use the 1.0.0 branch of carto-python. You can follow these steps:
- git clone https://github.com/CartoDB/carto-python
- cd carto-python/
- git checkout 1.0.0
- virtualenv env
- source env/bin/activate
- pip install -r requirements.txt
- pip install .
- python change_privacy.py # REMEMBER TO EDIT THE FILE TO INCLUDE YOUR USER CREDENTIALS AND DATASET_NAME