covid 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2099228c9a0f68b98b56c76ffff63d6984f768e82c4e9b26263b604a0edad60
4
- data.tar.gz: 176e67394bbed59fff11aca59551f9ce7b5b57d3eb6701e3b1a59150a930966c
3
+ metadata.gz: 42e5bb77ffa1422f903aba1bcacdfc13c840c55d64e9556eb436d017d5c4c155
4
+ data.tar.gz: b7cf65678daf795e5f745ef0432afaf1387c85568d5887b7740c5be1cc13916a
5
5
  SHA512:
6
- metadata.gz: b0f444134263754c8a8de6ebf3f79a2cb38671a488379a61d7c2e75ce1e4877b010513770f76bd2891c920aa2242ef9c92ee1eb126e269fdeb1b97595034d48a
7
- data.tar.gz: 15510d828dfa6854693d53304b8158e603476047dd2450f85264718986b63e13c9a484684ae29997a9af447d4c87c6e9e0011c20fd075c17c3266b76b7ae661a
6
+ metadata.gz: 3c7748580b7713b8f1e96f9c600f67bfc376e8ebca12f0cd72bcb556407432ebc23c0870bef69febe93600e37ae89003ccb68908209b6ed080edc4b4f3690650
7
+ data.tar.gz: 5fa5c3a6518b8ef2922ebdc40ee296668e69addd34498405dae0a7d7d108270524d4e7371aabba47eac7f25e07ccf7ba3632374ef643dca2cb301a51989a02b5
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- covid (0.1.2)
4
+ covid (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -26,6 +26,22 @@ $ Covid::Nineteen.deaths
26
26
  $ Covid::Nineteen.recovered
27
27
  ```
28
28
 
29
+ The data is structured as such:
30
+ ```
31
+ $ pp Covid::Nineteen.confirmed
32
+ [
33
+ {
34
+ "Province/State"=>nil,
35
+ "Country/Region"=>"Thailand",
36
+ "Lat"=>"15",
37
+ "Long"=>"101",
38
+ "1/22/20"=>"2",
39
+ "1/23/20"=>"3",
40
+ "1/24/20"=>"5"
41
+ },
42
+ { ... }
43
+ ]
44
+ ```
29
45
 
30
46
  ## Development
31
47
 
@@ -9,9 +9,9 @@ module Covid
9
9
  class Error < StandardError; end
10
10
  class Nineteen
11
11
  BASE_URI = "https://raw.githubusercontent.com/CSSEGISandData/COVID-19/master/csse_covid_19_data/csse_covid_19_time_series/"
12
- CONFIRMED = "time_series_19-covid-Confirmed.csv"
13
- DEATHS = "time_series_19-covid-Deaths.csv"
14
- RECOVERED = "time_series_19-covid-Recovered.csv"
12
+ CONFIRMED = "time_series_covid19_confirmed_global.csv"
13
+ DEATHS = "time_series_covid19_deaths_global.csv"
14
+ RECOVERED = "time_series_covid19_recovered_global.csv"
15
15
 
16
16
  def initialize(path)
17
17
  @path = path
@@ -1,3 +1,3 @@
1
1
  module Covid
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: covid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Thom
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-14 00:00:00.000000000 Z
11
+ date: 2020-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler