data-curator icon indicating copy to clipboard operation
data-curator copied to clipboard

Open file feature

Open Stephen-Gates opened this issue 6 years ago • 2 comments

The open file feature removes the need to specify the type of file you want to open, simplifying the menu from this

screenshot 2018-03-25 11 25 08

to this

screenshot 2018-03-25 11 33 19

Stephen-Gates avatar Mar 25 '18 01:03 Stephen-Gates

use CSV sniffer to determine dialect https://www.npmjs.com/package/csv-sniffer

npm
Takes a sample of CSV text and tries to guess newline character, col delimiter, quote character, and whether or not the first row in the file contains labels

Stephen-Gates avatar Apr 01 '18 00:04 Stephen-Gates

How far could we take this...

  • Open File... (opens local .csv, .tsv. .xlsx, .zip, .json files)
  • Open URL... (opens local .csv, .tsv. .xlsx, .zip, .json files at a URL)

Stephen-Gates avatar Apr 29 '18 10:04 Stephen-Gates