README.rdoc in remote_table-1.2.2 vs README.rdoc in remote_table-1.2.3
- old
+ new
@@ -4,10 +4,17 @@
==Real-life usage
Used by http://data.brighterplanet.com and the data_miner gem (http://github.com/seamusabshere/data_miner)
+==Requirements
+
+* POSIX operating system (not windows)
+* curl, iconv, perl, cat, cut, tail, etc. accessible from /usr/local/bin:/usr/bin:/bin
+
+As this library matures, those should go away.
+
==Example
?> t = RemoteTable.new 'http://www.fueleconomy.gov/FEG/epadata/98guide6.zip', 'filename' => '98guide6.csv'
=> #<RemoteTable:0x359da50 [...]>
?> t[0]
@@ -133,9 +140,14 @@
[ 'header2', 10, { :type => :string } ],
[ 'spacer', 1 ],
[ 'header3', 10, { :type => :string } ],
[ 'spacer', 1 ],
[ 'header1', 10, { :type => :string } ]]
+
+==Helpful hints
+
+* ASCII-8BIT is the same as BINARY
+* ISO-8859-1 is the same as Latin1
==Custom parsers
See the test file and also data_miner examples of custom parsers.