BabelDB

Query everything in one place.

Combine queries between any JDBC compatible database and JSON/CSV/HTML data

Click here to try this code in a live environment.

BabelDB allows querying CSV/JSON via HTTP or as text and combining queries across different databases.

Query_web( REST/CSV/HTML )

To query JSON/CSV/HTML based tables use query_web and BabelDB will automatically detect the format and return a table:

BabelDB Web Querying

query_web takes the following arguments:

ArgDescription
HTTPHTTP endpoint with data
JQ Path (Optional)JQ Path Expression
ColumnTypes (Optional)A json struct that specifies the key names and value types contained within the JSON file
e.g. ``{key1: 'INTEGER', key2: 'VARCHAR'}`` - If not specified these will be guessed.

Query_db(db,) - join data from different databases

Add a mysql / postgresql connection and query them. Notice the SQL queries can be wrapped in parentheses (), Quotes also work but parentheses allow SQL highlighting to work better in most editors.

Comparing the U.S. Unemployment rate to U.S. National Home Price Index:

BabelDB Querying Multiple Databases

Query_data( hardcoded JSON/CSV )


BabelDB Querying CSV/JSON Data

For more information see our BabelDB help section.