Before continuing with dev. I think I will try to structure our function calls as a modular SQL API as shown here: https://docs.cartodb.com/cartodb-platform/sql-api/making-calls/
Before continuing with dev. I think I will try to structure our function calls as a modular SQL API as shown here: https://docs.cartodb.com/cartodb-platform/sql-api/making-calls/