The DataHero Blog

Connecting Your Database to DataHero Using Dropbox

March 13th, 2014

unnamed-3

Many of our users request that DataHero connect directly with their individual databases, so they can run custom SQL queries and analyze internal data in DataHero. In this post, we’ll outline a solution where you can continually replace the entire file from your database using Dropbox so that the file and charts stay current with your own database statistics.

In many situations, our customers receive an entirely new data file.  Once you import this data file into DataHero, you can easily keep the charts you created up to date with the latest data. Sometimes you don’t want to append data to an existing sheet. Perhaps you receive a new file every day or week, and you’d like to overwrite the previous file. Dropbox is ideal for this type of data overwriting. Create a SQL query (or have someone from your team create one) and have the file be output into Dropbox. Then connect your Dropbox account to DataHero and each time the file is overwritten with new data in Dropbox, DataHero will automatically update your charts.

DataHero’s Metrics

At DataHero, we track metrics like weekly user registrations, activations, service connections etc. all via this system. We created a scheduled cron job to run a SQL query and post the results directly to Dropbox.  This will automatically overwrite the existing file in Dropbox with the newest data.

Importing Your Data

Once you have your file in Dropbox, it is straightforward to turn your data into compelling visualizations.  To start, import your data warehouse file and create the charts you need.  DataHero makes creating visualizations and dashboards painless by allowing you easily to do pivots, time groupings, filter out data, etc.

Keeping Your Data Up To Date

Once you have created the charts you need, make sure they’re automatically updated as the file is overwritten in Dropbox.  To do so, enable Live Charts from your charts homepage and DataHero will automatically update your charts with the most recent data from your cloud storage service while keeping a snapshot of your previous revisions.

Creating Your Dashboard

Finally, add the internal metric visualizations you created to a dashboard and combine it with your other key metrics from services like Stripe, Github or Salesforce.  You now have an up-to-date view of your latest internal data and all your business data in a single location.

We also recently published a blog post on running queries that append data to an existing dataset in a Google Spreadsheet. Check that out if you’d like to be able to add data to a current file instead of replacing it.

Create your SQL queries, overwrite the file continually in Dropbox, import it into DataHero and you’ll be able to visualize your database analytics quickly. Organize key charts into a dashboard and keep it all up to date within DataHero. Sign up for a free DataHero account today to give it a try.

Start visualizing your internal data with DataHero

By Kelli Simpson

Create my Free DataHero Account

Get the fastest, easiest way to understand your data today.