opengov-opendata / ckanext-cartodbmap Goto Github PK
View Code? Open in Web Editor NEWCKAN CartoDB ResourceView
License: GNU Affero General Public License v3.0
CKAN CartoDB ResourceView
License: GNU Affero General Public License v3.0
Is there any way to use this plugin with a locally installed version of CartoDB - not the public API version?
Leverage new widgets capability.
We need not over-engineer this, just have a field in the Resource View form to add a JSON configuration file, instead of dynamically creating a form based on the schema of the table.
Already in place on data.beta.nyc
Have the ability to specify a template that will be used to generate the CartoDB viz.
Right now, all CartoDB resource views have the same design (e.g. getthedata button, minimap, scale, locator, etc.)
Let's put in the ability to specify a template so alternate UX can be specified (e.g. AirBnB Explorer template; AirBnB compliance tracking template; Template with radii for quarter-mile, half-mile etc.)
The template definitions themselves should be JSON config files.
Note that UI design is still done in CartoDB editor. These template definitions are only for UX elements like widgets, and widget sets.
showing how to install/use the plugin
The current synching is a drop and replace mechanism, and is capped at 200mb and needs to be done from the CartoDB editor.
Let's improve it so we have the ability to do an upsert using CartoDB's SQL api.
For this to work, in the Resource View configuration form, prompt for:
SYNC TYPE:
Present three options: snapshot, table-sync, sql-sync.
For snapshot - no synching required
Table sync - activate data.api table sync
SQL sync - prompt for key field/s.
For table-sync/sql-sync, prompt for frequency. For table-sync, depend on CartoDB scheduler to fetch data. For sql-sync, schedule job on cron.
For sql-sync cron job, do upsert.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.