quandl_data 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b82905af7563344474ade78afcce832343508302
4
- data.tar.gz: 624de4e651cfab921af731df00bb72c94ba3f98e
3
+ metadata.gz: 97637a167b323c21abd314ec3472856b81ddd3fe
4
+ data.tar.gz: c0a2e3251c51034925950ddfd0836b0ddd7699f0
5
5
  SHA512:
6
- metadata.gz: 51837e3e38ee917e5768aecbd8dde6033e080fc8b7181da95994a48e4776b1a9144915c5403464bcb0b350bf48ffec4d51946cdcbe22f13c1663b7693ea5f6ba
7
- data.tar.gz: 03a3e69dc9c625df5935fdcd3b4d13a4c2ac9d2aa9994163ecabb36bf1afee1bb1ce728ecd43ad3f1c2ebfc5e498a885aa188e43a93afaa35c9a86b4aba8cc74
6
+ metadata.gz: ee22e5129164a011227323ca26546ef888e3fb2c634bba061e80a3a5cd56fddb9dd274675ff8e998b51495ae541571578e425190fb3bd89f985a8c560ca9903b
7
+ data.tar.gz: 14e75175293ae3c80017388499d54e7e32cb564c9975305e110c910bc1b95e77a0b8234beb8e2ece463cfd284e353aa8098e68f954af52ca820480dba9097a03
data/README.md CHANGED
@@ -1 +1,28 @@
1
1
  # Quandl::Data
2
+
3
+ ### Quandl::Data::Table
4
+
5
+ ```ruby
6
+
7
+ require 'quandl/data'
8
+
9
+ decade_of_daily_data_as_csv = Quandl::Data::Random.table( rows: 3650, columns: 4, nils: false ).to_csv
10
+
11
+ table = Quandl::Data::Table.new( decade_of_daily_data_as_csv )
12
+ table.collapse(:monthly).transform(:rdiff).to_date
13
+
14
+ ```
15
+
16
+
17
+ ### Quandl::Data::Random
18
+
19
+ ```ruby
20
+
21
+ require 'quandl/data'
22
+
23
+ data = Quandl::Data::Random.table( rows: 4, columns: 2, nils: false )
24
+ data.to_csv
25
+
26
+ => "2456459,9.75573946698621,11.003327581245657\n2456460,9.815208080651333,11.06123640714187\n2456461,9.85055418685121,11.054083764705883\n2456462,9.915882352941177,10.96635294117647\n"
27
+
28
+ ```
@@ -1,5 +1,5 @@
1
1
  module Quandl
2
2
  module Data
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
data/quandl_data.gemspec CHANGED
@@ -22,5 +22,5 @@ Gem::Specification.new do |s|
22
22
  s.add_development_dependency "fivemat", "~> 1.2"
23
23
 
24
24
  s.add_runtime_dependency "activesupport", ">= 3.0.0"
25
- s.add_runtime_dependency "quandl_operation", "~> 0.0.3"
26
- end
25
+ s.add_runtime_dependency "quandl_operation", "~> 0.0.5"
26
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quandl_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blkae Hilscher
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 0.0.3
75
+ version: 0.0.5
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 0.0.3
82
+ version: 0.0.5
83
83
  description: Data will be interfaced
84
84
  email:
85
85
  - blake@hilscher.ca