rwanda 0.1.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTdmZTNlY2FlMmFjOTU4ZTA3YmVlZjc5YTk2YmRiZDJiNjA2NjMwMg==
4
+ YmVjNTg1YzM0NjIzNmY3ZTdiMDM2YjY5MTJkYThjMzhkNjlmZGNjOQ==
5
5
  data.tar.gz: !binary |-
6
- M2I3MTc4ZTYwODY4Yjk2ZjI0ZmNmNDVkYjU2ZWEyYzk0ODhhN2E5ZQ==
6
+ YjkyOWU4NmQ1NmZhNGIxNThlNDllYzFjYzE4OTY4MmMxNDNlMjg2MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGE1MmUzMWUzNmY3Y2VmODQxODhkNzQwMGIxNmM4ZDdhOGIzNjI0MzM1ZGI2
10
- NGJlNGU3OGM1NDVkYTE0YTY0ZTI4NTZlOTUwNmY3M2E3MTU0MDM4YTdjMjBh
11
- MGE5YTE1ODk0YzJmMWQyMjQ3YzBkMzgwYTM0NDQwZjM3OWRjMjU=
9
+ NGJjMTY4NjQ1NTY1NmQzZmVhMGIzN2EyNzA2NjEyMGIxMDFkNjQzZGYxNTM2
10
+ OWNmODg4NmJmM2YzYzUzZWU0YWEzZDFhNTc1MjQ1ZDczYzNjZmNhNTJkYzE5
11
+ YWIzZTBiODk0NDY3MWI3YzcxOTg0MDA5ZTlhMjVkNzBmNGM0ZTY=
12
12
  data.tar.gz: !binary |-
13
- OWIzNjI0MmM1MWQzYzc2Mjg3YjliOWYwNTAzOTFhOTZjNjUwMjBiMWFkNWMw
14
- Nzc2YjY5MWU5ZDA3Y2JiOGUwZmUxNGNhOGU2NWIwOGViNjM4MDZhNzg0NmIy
15
- NGY4MWU2YTIwOTQxNWViYjBkZTJkZTM2ZjIzNTM3ZTYwYjI4ZTY=
13
+ OThiY2UzMjZhZmNiMjMzMWFiMzM5OTEwOTE4OTY0NWEyYmQxOTUyNGI0M2Ji
14
+ ZWE3Y2FiZDVmMTFjNmNiNGUzOTI3ODJlOWIwNDdkZThiMmJmMDQxY2YzYjVj
15
+ NzI2N2NkMDlkZGZmMjgwZjBiOGZkYWI0ZDllZjc1YzBhODgxZWM=
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Rwanda
2
2
 
3
- Access geographic information about Rwanda.
3
+ Access geographic information about administrative divisions in Rwanda, i.e. provinces, districts, sectors, cells and villages.
4
4
 
5
5
  ## Installation
6
6
 
@@ -26,9 +26,40 @@ rw.provinces
26
26
  rw.sectors_of 'Gasabo'
27
27
  rw.district_of 'Giheke'
28
28
  rw.sector_like 'Rukuma'
29
+ rw.is_district? 'Karongi'
30
+ rw.is_sector? 'Gashari'
31
+ rw.is_cell? 'Musasa'
32
+ rw.is_village? 'Kaduha'
33
+ # Rwanda#exist?(district, sector, cell, village)
34
+ rw.exist?('Karongi','Bwishyura','Kiniha','Nyarurembo')
35
+ rw.exist?('Karongi','Bwishyura','Nyarurembo')
29
36
  ```
30
37
 
31
- Cells and villages may follow if I can get hold of the relevant information.
38
+ Geographic information kindly provided by MINALOC. There are some minor spelling differences between this data and other sources available at sector level (I have not had any other source to compare with at cell and village level). In particular the following sectors seem to have alternative spellings:
39
+
40
+ | This gem uses | Others may use |
41
+ ----------------|-----------------
42
+ | Gashari | Gishari |
43
+ | Gishali | Gishari |
44
+ | Kabagali | Kabagari |
45
+ | Mageregere | Mageragere |
46
+ | Mimuri | Mimuli |
47
+ | Musheri | Musheli |
48
+ | Nyakaliro | Nyakariro |
49
+ | Nyakiriba | Nyakiliba |
50
+ | Nyamugari | Nyamugali |
51
+ | Rugarika | Rugalika |
52
+ | Rusarabuye | Rusarabuge |
53
+
54
+ In some cases both spellings will exist, especially at cell and village level. I haven't attempted to "clean" the data I was given, except for the case.
55
+
56
+ The province names are all in English (i.e. *Eastern Province* instead of *Iburasirazuba*).
57
+
58
+ If you are not familiar with this data set, it's worth noting the following features:
59
+ * province and district names are unique
60
+ * sector, cell and village names are often repeated: two sectors in different districts may have the same name, or a sector, cell and village may all have the same name
61
+ * cells and villages may be named after the sectors and cells that they are in
62
+ * at the cell or village level, there may be multiple villages with the same name, differentiated by a number (in roman numerals) e.g. Matimba cell has seven "Umudugudu Wa"s
32
63
 
33
64
  ## Contributing
34
65