3aa610d6aa
* Support more than 26 columns Google Sheets default to just 26 columns (A-Z) and we need to explicitly add more columns if we need them. Fixes #2760 * Improve Google Sheets upload - upload in chunks instead of serializing the entire document at once - Free up resources as we go - stop if an error occurs - reduce batch size to try and stay in 10MB request size limit (but need a more dynamic way to do this probably for very wide sheets or sheets with large values) * Add basic test and do some cleanup - add test for columns > 26 - refactor to allow testing and not depend on unnecessary fields - add i18n TODO for translating spreadsheet description * Preserve cell data types Fixes #2785 - integers and floats are sent as Doubles - bools as Boolean - DateTimes as Strings - nulls as the empty string - anything else as Strings using .toString() * Fix LGTM-flagged potentially null pointer dereference |
||
---|---|---|
.. | ||
licenses | ||
module | ||
src/com/google/refine/extension/gdata | ||
tests | ||
LICENSE.txt | ||
pom.xml | ||
README.txt |
OpenRefine extension for Google Spreadsheets by Tom Morris <tfmorris@gmail.com> This extension provides Refine with the ability to read Google spreadsheets directly so you don't have to export them as CSV files first. Unpack the contents of this archive (jar, zip, etc) into the extensions folder of your Refine installation and restart Refine. Enter the *public* share URL of a Google Spreadsheet in the "Data File URL" field of the "Create a New Project" pane of the Refine home page. If you end up with a project full of HTML tags and an RSS feed, the extension isn't installed properly. A properly installed extension should have an About page available at http://127.0.0.1:3333/extension/gdata/ (the trailing slash is significant). Known limitations: - No write support - No authentication support. You must use the public share URL for the the Google spreadsheet you want to load.