Skip to content

Commit 0faf6f6

Browse files
committed
Added README and CONTRIBUTING
1 parent 0969ed5 commit 0faf6f6

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed

CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## Installing daru development dependencies
44

5-
If you want to run the full rspec suite, you will need the latest unreleased nmatrix and gsl-nmatrix ruby gems. They will released upstream soon but please follow this procedure for now.
5+
If you want to run the full rspec suite, you will need the latest unreleased nmatrix gem. They will released upstream soon but please follow this procedure for now.
66

7-
Keep in mind that either nmatrix OR gsl-nmatrix are NOT NECESSARY for using daru. They are just required for an optional speed up.
7+
Keep in mind that either nmatrix or rb-gsl are NOT NECESSARY for using daru. They are just required for an optional speed up and for running the test suite.
88

99
To install dependencies, execute the following commands:
1010

@@ -16,7 +16,7 @@ To install dependencies, execute the following commands:
1616
`sudo apt-get install -y libgsl0-dev r-base r-base-dev`
1717
`sudo Rscript -e "install.packages(c('Rserve','irr'),,'http://cran.us.r-project.org')"`
1818

19-
Then execute the .build.sh script to clone and install the latest nmatrix and gsl-nmatrix on your system:
19+
Then execute the [.build.sh script](https://github.com/v0dro/daru/blob/master/.build.sh) to clone and install the latest nmatrix system:
2020

2121
`./.build.sh`
2222

@@ -29,3 +29,7 @@ And run the test suite (should be all green with pending tests):
2929
`bundle exec rspec`
3030

3131
If you have problems installing nmatrix, please consult the [nmatrix installation wiki](https://github.com/SciRuby/nmatrix/wiki/Installation) or the [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev).
32+
33+
## Daru internals
34+
35+
To get an overview of certain internals of daru and their implementation, go over [this blog post](http://v0dro.github.io/blog/2015/08/16/elaboration-on-certain-internals-of-daru/).

README.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,35 +19,50 @@ Written in pure Ruby so should work with all ruby implementations. Tested with M
1919
* Data structures:
2020
- Vector - A basic 1-D vector.
2121
- DataFrame - A 2-D spreadsheet-like structure for manipulating and storing data sets. This is daru's primary data structure.
22-
* Compatible with [IRuby notebook](https://github.com/SciRuby/iruby), [statsample](https://github.com/SciRuby/statsample) and [statsample-glm]().
22+
* Compatible with [IRuby notebook](https://github.com/SciRuby/iruby), [statsample](https://github.com/SciRuby/statsample), [statsample-glm](https://github.com/SciRuby/statsample-glm) and [statsample-timeseries](https://github.com/SciRuby/statsample-timeseries).
23+
* Support for time series.
2324
* Singly and hierarchially indexed data structures.
2425
* Flexible and intuitive API for manipulation and analysis of data.
2526
* Easy plotting, statistics and arithmetic.
2627
* Plentiful iterators.
2728
* Optional speed and space optimization on MRI with [NMatrix](https://github.com/SciRuby/nmatrix) and GSL.
2829
* Easy splitting, aggregation and grouping of data.
2930
* Quickly reducing data with pivot tables for quick data summary.
30-
* Import and exports dataset from and to Excel, CSV, Databases and plain text files.
31+
* Import and export data from and to Excel, CSV, SQL Databases and plain text files.
3132

3233
## Notebooks
3334

34-
### Usage
35+
#### Notebooks on most use cases
3536

37+
* [Overview of most daru functions](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Daru%20Demo.ipynb)
3638
* [Basic Creation of Vectors and DataFrame](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Creation%20of%20Vector%20and%20DataFrame.ipynb)
3739
* [Detailed Usage of Daru::Vector](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Usage%20of%20Vector.ipynb)
3840
* [Detailed Usage of Daru::DataFrame](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Usage%20of%20DataFrame.ipynb)
3941
* [Visualizing Data With Daru::DataFrame](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Visualization/Visualizing%20data%20with%20daru%20DataFrame.ipynb)
42+
* [Searching and combining data in daru](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Searching%20and%20Combining%20Data.ipynb)
4043
* [Grouping, Splitting and Pivoting Data](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Grouping%2C%20Splitting%20and%20Pivoting.ipynb)
4144

45+
#### Notebooks on Time series
46+
47+
* [Basic Time Series](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Basic%20Time%20Series.ipynb)
48+
* [Time Series Analysis and Plotting](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Time%20Series%20Functions.ipynb)
49+
4250
### Case Studies
4351

4452
* [Logistic Regression Analysis with daru and statsample-glm](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Logistic%20Regression%20with%20daru%20and%20statsample-glm.ipynb)
4553
* [Finding and Plotting most heard artists from a Last.fm dataset](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Finding%20and%20plotting%20the%20most%20heard%20artists%20on%20last%20fm.ipynb)
54+
* [Analyzing baby names with daru](http://nbviewer.ipython.org/github/SciRuby/sciruby-notebooks/blob/master/Data%20Analysis/Analyzing%20baby%20names/Use%20Case%20-%20Daru%20for%20analyzing%20baby%20names%20data.ipynb)
4655

4756
## Blog Posts
4857

4958
* [Data Analysis in RUby: Basic data manipulation and plotting](http://v0dro.github.io/blog/2014/11/25/data-analysis-in-ruby-basic-data-manipulation-and-plotting/)
5059
* [Data Analysis in RUby: Splitting, sorting, aggregating data and data types](http://v0dro.github.io/blog/2015/02/24/data-analysis-in-ruby-part-2/)
60+
* [Finding and Combining data in daru](http://v0dro.github.io/blog/2015/08/03/finding-and-combining-data-in-daru/)
61+
62+
### Time series
63+
64+
* [Analysis of Time Series in daru](http://v0dro.github.io/blog/2015/07/31/analysis-of-time-series-in-daru/)
65+
* [Date Offsets in Daru](http://v0dro.github.io/blog/2015/07/27/date-offsets-in-daru/)
5166

5267
## Documentation
5368

@@ -62,19 +77,18 @@ Docs can be found [here](https://rubygems.org/gems/daru).
6277
* Multiple column assignment with []=
6378
* Multiple value assignment for vectors with []=.
6479
* #find\_max function which will evaluate a block and return the row for the value of the block is max.
65-
* Function to check if a value of a row/vector is within a specified range.
66-
* Create a new vector in map_rows if any of the already present rows dont match the one assigned in the block.
6780
* Sort by index.
68-
* Statistics on DataFrame over rows and columns.
81+
* Statistics on DataFrame over rows.
6982
* Calculate percentage change.
7083
* Have some sample data sets for users to play around with. Should be able to load these from the code itself.
7184
* Sorting with missing data present.
72-
* Change internals of indexes to raise errors when a particular index is missing and the passed key is a Fixnum. Right now we just return the Fixnum for convienience.
7385

7486
## Contributing
7587

7688
Pick a feature from the Roadmap or the issue tracker or think of your own and send me a Pull Request!
7789

90+
For details see [CONTRIBUTING](https://github.com/v0dro/daru/blob/master/CONTRIBUTING.md).
91+
7892
## Acknowledgements
7993

8094
* Google and the Ruby Science Foundation for the Google Summer of Code 2015 grant for further developing daru and integrating it with other ruby gems.

0 commit comments

Comments
 (0)