Readme.mdown in split-export-1.1.0 vs Readme.mdown in split-export-2.0.0
- old
+ new
@@ -24,11 +24,19 @@
require 'split/export'
## Usage
+This exports data for all experiments. This data set does not break down conversions by goals:
+
require 'split/export'
csv_data = Split::Export.to_csv
+ File.open('path/to/my.csv', 'w') {|f| f.write(csv_data) }
+
+This exports data for a single experiment, and breaks it down by group and goal:
+
+ require 'split/export'
+ csv_data = Split::Export.experiment_to_csv("my_experiment")
File.open('path/to/my.csv', 'w') {|f| f.write(csv_data) }
## Development
Source hosted at [GitHub](http://github.com/splitrb/split-export).