scraperwiki / spreadsheet-download-tool

A ScraperWiki plugin for downloading data from a box as a CSV or Excel spreadsheet
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Do not "download" underscore tables unless explicitly requested #37

Closed zarino closed 10 years ago

zarino commented 10 years ago

Underscore tables are a developer feature, and shouldn't be presented for download unless the user has explicitly asked for them.

Maybe a checkbox?

zarino commented 10 years ago

The pull request here – https://github.com/scraperwiki/spreadsheet-download-tool/pull/40 – ignores all underscore tables. The average user simply doesn't care about them.

If people (probably tool developers) miss them, we can reintroduce a checkbox to enable them.

Or, possibly, kill two birds with one stone and implement a "Custom SQL" input, that generates a file based on the results of a user-defined query. This box could be filled by scraperwiki.dataset.installTool() (aka: "pushSQL"), or by hand. And then users who want to download underscore tables could just type select * from _mytable.