@explorable-viz/fluid 0.0.23 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (334) hide show
  1. package/.spago/aff/v7.0.0/.editorconfig +13 -0
  2. package/.spago/aff/v7.0.0/.eslintrc.json +28 -0
  3. package/.spago/aff/v7.0.0/.gitignore +14 -0
  4. package/.spago/aff/v7.0.0/.tidyrc.json +10 -0
  5. package/.spago/affjax/v13.0.0/.editorconfig +13 -0
  6. package/.spago/affjax/v13.0.0/.eslintrc.json +28 -0
  7. package/.spago/affjax/v13.0.0/.gitignore +14 -0
  8. package/.spago/affjax/v13.0.0/.tidyrc.json +10 -0
  9. package/.spago/affjax-web/v1.0.0/.editorconfig +13 -0
  10. package/.spago/affjax-web/v1.0.0/.eslintrc.json +30 -0
  11. package/.spago/affjax-web/v1.0.0/.gitignore +14 -0
  12. package/.spago/affjax-web/v1.0.0/.tidyrc.json +10 -0
  13. package/.spago/argonaut-codecs/v9.0.0/.editorconfig +13 -0
  14. package/.spago/argonaut-codecs/v9.0.0/.gitignore +9 -0
  15. package/.spago/argonaut-codecs/v9.0.0/.tidyrc.json +10 -0
  16. package/.spago/argonaut-core/v7.0.0/.editorconfig +13 -0
  17. package/.spago/argonaut-core/v7.0.0/.eslintrc.json +29 -0
  18. package/.spago/argonaut-core/v7.0.0/.gitignore +14 -0
  19. package/.spago/argonaut-core/v7.0.0/.tidyrc.json +10 -0
  20. package/.spago/arraybuffer-types/v3.0.2/.editorconfig +13 -0
  21. package/.spago/arraybuffer-types/v3.0.2/.gitignore +9 -0
  22. package/.spago/arraybuffer-types/v3.0.2/.tidyrc.json +10 -0
  23. package/.spago/arrays/v7.0.0/.eslintrc.json +26 -0
  24. package/.spago/arrays/v7.0.0/.gitignore +9 -0
  25. package/.spago/assert/v6.0.0/.eslintrc.json +26 -0
  26. package/.spago/assert/v6.0.0/.gitignore +8 -0
  27. package/.spago/avar/v5.0.0/.editorconfig +13 -0
  28. package/.spago/avar/v5.0.0/.eslintrc.json +29 -0
  29. package/.spago/avar/v5.0.0/.gitignore +14 -0
  30. package/.spago/avar/v5.0.0/.tidyrc.json +10 -0
  31. package/.spago/bifunctors/v6.0.0/.gitignore +7 -0
  32. package/.spago/catenable-lists/v7.0.0/.gitignore +7 -0
  33. package/.spago/console/v6.0.0/.eslintrc.json +30 -0
  34. package/.spago/console/v6.0.0/.gitignore +9 -0
  35. package/.spago/const/v6.0.0/.gitignore +7 -0
  36. package/.spago/contravariant/v6.0.0/.gitignore +7 -0
  37. package/.spago/control/v6.0.0/.gitignore +7 -0
  38. package/.spago/datetime/v6.1.0/.eslintrc.json +26 -0
  39. package/.spago/datetime/v6.1.0/.gitignore +8 -0
  40. package/.spago/debug/v6.0.0/.eslintrc.json +36 -0
  41. package/.spago/debug/v6.0.0/.gitignore +8 -0
  42. package/.spago/distributive/v6.0.0/.gitignore +7 -0
  43. package/.spago/effect/v4.0.0/.eslintrc.json +26 -0
  44. package/.spago/effect/v4.0.0/.gitignore +8 -0
  45. package/.spago/either/v6.1.0/.gitignore +7 -0
  46. package/.spago/enums/v6.0.0/.gitignore +7 -0
  47. package/.spago/exceptions/v6.0.0/.eslintrc.json +26 -0
  48. package/.spago/exceptions/v6.0.0/.gitignore +8 -0
  49. package/.spago/exists/v6.0.0/.gitignore +7 -0
  50. package/.spago/filterable/v5.0.0/.gitignore +11 -0
  51. package/.spago/foldable-traversable/v6.0.0/.eslintrc.json +26 -0
  52. package/.spago/foldable-traversable/v6.0.0/.gitignore +8 -0
  53. package/.spago/foreign/v7.0.0/.eslintrc.json +26 -0
  54. package/.spago/foreign/v7.0.0/.gitignore +8 -0
  55. package/.spago/foreign-object/v4.0.0/.eslintrc.json +26 -0
  56. package/.spago/foreign-object/v4.0.0/.gitignore +8 -0
  57. package/.spago/fork/v6.0.0/.editorconfig +13 -0
  58. package/.spago/fork/v6.0.0/.gitignore +9 -0
  59. package/.spago/fork/v6.0.0/.tidyrc.json +10 -0
  60. package/.spago/form-urlencoded/v7.0.0/.editorconfig +13 -0
  61. package/.spago/form-urlencoded/v7.0.0/.gitignore +9 -0
  62. package/.spago/form-urlencoded/v7.0.0/.tidyrc.json +10 -0
  63. package/.spago/free/v7.0.0/.gitignore +8 -0
  64. package/.spago/functions/v6.0.0/.eslintrc.json +26 -0
  65. package/.spago/functions/v6.0.0/.gitignore +8 -0
  66. package/.spago/functors/v5.0.0/.gitignore +7 -0
  67. package/.spago/gen/v4.0.0/.gitignore +8 -0
  68. package/.spago/graphs/v8.0.0/.gitignore +7 -0
  69. package/.spago/http-methods/v6.0.0/.editorconfig +13 -0
  70. package/.spago/http-methods/v6.0.0/.gitignore +9 -0
  71. package/.spago/http-methods/v6.0.0/.tidyrc.json +10 -0
  72. package/.spago/identity/v6.0.0/.gitignore +7 -0
  73. package/.spago/integers/v6.0.0/.eslintrc.json +26 -0
  74. package/.spago/integers/v6.0.0/.gitignore +8 -0
  75. package/.spago/invariant/v6.0.0/.gitignore +7 -0
  76. package/.spago/js-date/v8.0.0/.editorconfig +13 -0
  77. package/.spago/js-date/v8.0.0/.eslintrc.json +29 -0
  78. package/.spago/js-date/v8.0.0/.gitignore +14 -0
  79. package/.spago/js-date/v8.0.0/.tidyrc.json +10 -0
  80. package/.spago/js-uri/v3.0.0/.eslintrc.json +30 -0
  81. package/.spago/js-uri/v3.0.0/.gitignore +14 -0
  82. package/.spago/js-uri/v3.0.0/.tidyrc.json +10 -0
  83. package/.spago/lazy/v6.0.0/.eslintrc.json +26 -0
  84. package/.spago/lazy/v6.0.0/.gitignore +8 -0
  85. package/.spago/lcg/v4.0.0/.gitignore +8 -0
  86. package/.spago/lists/v7.0.0/.gitignore +7 -0
  87. package/.spago/maybe/v6.0.0/.gitignore +7 -0
  88. package/.spago/media-types/v6.0.0/.editorconfig +13 -0
  89. package/.spago/media-types/v6.0.0/.gitignore +9 -0
  90. package/.spago/media-types/v6.0.0/.tidyrc.json +10 -0
  91. package/.spago/newtype/v5.0.0/.gitignore +7 -0
  92. package/.spago/node-buffer/v8.0.0/.eslintrc.json +26 -0
  93. package/.spago/node-buffer/v8.0.0/.gitignore +8 -0
  94. package/.spago/node-fs/v9.1.0/.eslintrc.json +29 -0
  95. package/.spago/node-fs/v9.1.0/.gitignore +9 -0
  96. package/.spago/node-http/v8.0.0/.eslintrc.json +29 -0
  97. package/.spago/node-http/v8.0.0/.gitignore +8 -0
  98. package/.spago/node-net/v4.0.0/.eslintrc.json +29 -0
  99. package/.spago/node-net/v4.0.0/.gitignore +8 -0
  100. package/.spago/node-path/v5.0.0/.eslintrc.json +26 -0
  101. package/.spago/node-path/v5.0.0/.gitignore +8 -0
  102. package/.spago/node-process/v10.0.0/.eslintrc.json +29 -0
  103. package/.spago/node-process/v10.0.0/.gitignore +8 -0
  104. package/.spago/node-process/v11.0.0/.eslintrc.json +29 -0
  105. package/.spago/node-process/v11.0.0/.gitignore +8 -0
  106. package/.spago/node-process/v11.1.0/.eslintrc.json +29 -0
  107. package/.spago/node-process/v11.1.0/.gitignore +8 -0
  108. package/.spago/node-process/v11.2.0/.eslintrc.json +29 -0
  109. package/.spago/node-process/v11.2.0/.gitignore +8 -0
  110. package/.spago/node-streams/v7.0.0/.eslintrc.json +29 -0
  111. package/.spago/node-streams/v7.0.0/.gitignore +8 -0
  112. package/.spago/node-url/v6.0.0/.eslintrc.json +26 -0
  113. package/.spago/node-url/v6.0.0/.gitignore +8 -0
  114. package/.spago/nonempty/v7.0.0/.gitignore +7 -0
  115. package/.spago/now/v6.0.0/.editorconfig +13 -0
  116. package/.spago/now/v6.0.0/.eslintrc.json +29 -0
  117. package/.spago/now/v6.0.0/.gitignore +14 -0
  118. package/.spago/now/v6.0.0/.tidyrc.json +10 -0
  119. package/.spago/nullable/v6.0.0/.editorconfig +13 -0
  120. package/.spago/nullable/v6.0.0/.eslintrc.json +29 -0
  121. package/.spago/nullable/v6.0.0/.gitignore +14 -0
  122. package/.spago/nullable/v6.0.0/.tidyrc.json +10 -0
  123. package/.spago/options/v7.0.0/.editorconfig +13 -0
  124. package/.spago/options/v7.0.0/.gitignore +9 -0
  125. package/.spago/options/v7.0.0/.tidyrc.json +10 -0
  126. package/.spago/optparse/v5.0.0/.gitignore +8 -0
  127. package/.spago/optparse/v5.0.0/.npmrc +1 -0
  128. package/.spago/optparse/v6.0.0/.gitignore +8 -0
  129. package/.spago/optparse/v6.0.0/.npmrc +1 -0
  130. package/.spago/ordered-collections/v3.0.0/.gitignore +8 -0
  131. package/.spago/orders/v6.0.0/.gitignore +7 -0
  132. package/.spago/parallel/v6.0.0/.gitignore +7 -0
  133. package/.spago/parsing/v10.0.0/.editorconfig +13 -0
  134. package/.spago/parsing/v10.0.0/.gitignore +10 -0
  135. package/.spago/parsing/v10.0.0/.tidyoperators +231 -0
  136. package/.spago/parsing/v10.0.0/.tidyrc.json +10 -0
  137. package/.spago/partial/v4.0.0/.eslintrc.json +26 -0
  138. package/.spago/partial/v4.0.0/.gitignore +8 -0
  139. package/.spago/posix-types/v6.0.0/.gitignore +7 -0
  140. package/.spago/prelude/v6.0.0/.eslintrc.json +26 -0
  141. package/.spago/prelude/v6.0.0/.gitignore +8 -0
  142. package/.spago/profunctor/v6.0.0/.gitignore +7 -0
  143. package/.spago/psci-support/v6.0.0/.eslintrc.json +28 -0
  144. package/.spago/psci-support/v6.0.0/.gitignore +8 -0
  145. package/.spago/quickcheck/v8.0.1/.eslintrc.json +26 -0
  146. package/.spago/quickcheck/v8.0.1/.gitignore +8 -0
  147. package/.spago/random/v6.0.0/.eslintrc.json +26 -0
  148. package/.spago/random/v6.0.0/.gitignore +8 -0
  149. package/.spago/record/v4.0.0/.eslintrc.json +26 -0
  150. package/.spago/record/v4.0.0/.gitignore +8 -0
  151. package/.spago/refs/v6.0.0/.eslintrc.json +26 -0
  152. package/.spago/refs/v6.0.0/.gitignore +8 -0
  153. package/.spago/st/v6.0.0/.eslintrc.json +26 -0
  154. package/.spago/st/v6.0.0/.gitignore +8 -0
  155. package/.spago/strings/v6.0.0/.eslintrc.json +26 -0
  156. package/.spago/strings/v6.0.0/.gitignore +8 -0
  157. package/.spago/tailrec/v6.0.0/.gitignore +7 -0
  158. package/.spago/transformers/v6.0.0/.gitignore +7 -0
  159. package/.spago/tuples/v7.0.0/.gitignore +7 -0
  160. package/.spago/type-equality/v4.0.1/.gitignore +7 -0
  161. package/.spago/typelevel-prelude/v7.0.0/.gitignore +8 -0
  162. package/.spago/unfoldable/v6.0.0/.eslintrc.json +26 -0
  163. package/.spago/unfoldable/v6.0.0/.gitignore +8 -0
  164. package/.spago/unicode/v6.0.0/.editorconfig +13 -0
  165. package/.spago/unicode/v6.0.0/.gitattributes +2 -0
  166. package/.spago/unicode/v6.0.0/.gitignore +19 -0
  167. package/.spago/unicode/v6.0.0/.tidyrc.json +10 -0
  168. package/.spago/unsafe-coerce/v6.0.0/.eslintrc.json +26 -0
  169. package/.spago/unsafe-coerce/v6.0.0/.gitignore +8 -0
  170. package/.spago/web-dom/v6.0.0/.eslintrc.json +29 -0
  171. package/.spago/web-dom/v6.0.0/.gitignore +9 -0
  172. package/.spago/web-events/v4.0.0/.eslintrc.json +29 -0
  173. package/.spago/web-events/v4.0.0/.gitignore +8 -0
  174. package/.spago/web-file/v4.0.0/.eslintrc.json +29 -0
  175. package/.spago/web-file/v4.0.0/.gitignore +8 -0
  176. package/.spago/web-html/v4.0.0/.eslintrc.json +29 -0
  177. package/.spago/web-html/v4.0.0/.gitignore +8 -0
  178. package/.spago/web-storage/v5.0.0/.eslintrc.json +29 -0
  179. package/.spago/web-storage/v5.0.0/.gitignore +8 -0
  180. package/.spago/web-xhr/v5.0.0/.eslintrc.json +29 -0
  181. package/.spago/web-xhr/v5.0.0/.gitignore +8 -0
  182. package/LICENSE +1 -1
  183. package/README.md +13 -7
  184. package/index.js +28285 -0
  185. package/package.json +32 -29
  186. package/dist/article/app.js +0 -40580
  187. package/dist/article/css/styles.css +0 -191
  188. package/dist/article/css/view-styles.css +0 -141
  189. package/dist/article/fluid/dataset/renewables-restricted.fld +0 -139
  190. package/dist/article/fluid/example/arithmetic.fld +0 -1
  191. package/dist/article/fluid/example/array.fld +0 -2
  192. package/dist/article/fluid/example/compose.fld +0 -2
  193. package/dist/article/fluid/example/desugar/list-comp-1.fld +0 -1
  194. package/dist/article/fluid/example/desugar/list-comp-10.fld +0 -1
  195. package/dist/article/fluid/example/desugar/list-comp-2.fld +0 -1
  196. package/dist/article/fluid/example/desugar/list-comp-3.fld +0 -1
  197. package/dist/article/fluid/example/desugar/list-comp-4.fld +0 -1
  198. package/dist/article/fluid/example/desugar/list-comp-5.fld +0 -1
  199. package/dist/article/fluid/example/desugar/list-comp-6.fld +0 -1
  200. package/dist/article/fluid/example/desugar/list-comp-7.fld +0 -1
  201. package/dist/article/fluid/example/desugar/list-comp-8.fld +0 -1
  202. package/dist/article/fluid/example/desugar/list-comp-9.fld +0 -1
  203. package/dist/article/fluid/example/desugar/list-enum.fld +0 -1
  204. package/dist/article/fluid/example/dicts.fld +0 -11
  205. package/dist/article/fluid/example/div-mod-quot-rem.fld +0 -4
  206. package/dist/article/fluid/example/factorial.fld +0 -6
  207. package/dist/article/fluid/example/filter.fld +0 -1
  208. package/dist/article/fluid/example/first-class-constr.fld +0 -1
  209. package/dist/article/fluid/example/flatten.fld +0 -12
  210. package/dist/article/fluid/example/foldr-sumSquares.fld +0 -1
  211. package/dist/article/fluid/example/graphics/background.fld +0 -7
  212. package/dist/article/fluid/example/graphics/grouped-bar-chart.fld +0 -9
  213. package/dist/article/fluid/example/graphics/line-chart.fld +0 -13
  214. package/dist/article/fluid/example/graphics/small-barchart.fld +0 -5
  215. package/dist/article/fluid/example/graphics/stacked-bar-chart.fld +0 -3
  216. package/dist/article/fluid/example/include-input-into-output.fld +0 -1
  217. package/dist/article/fluid/example/length.fld +0 -1
  218. package/dist/article/fluid/example/lexicalScoping.fld +0 -3
  219. package/dist/article/fluid/example/lib/some-constants.fld +0 -1
  220. package/dist/article/fluid/example/linked-inputs/energyscatter.fld +0 -24
  221. package/dist/article/fluid/example/linked-inputs/mini-energyscatter.fld +0 -30
  222. package/dist/article/fluid/example/linked-inputs/mini-non-renewables.fld +0 -3
  223. package/dist/article/fluid/example/linked-inputs/mini-renewables.fld +0 -6
  224. package/dist/article/fluid/example/linked-inputs/non-renewables.fld +0 -67
  225. package/dist/article/fluid/example/linked-inputs/renewables.fld +0 -301
  226. package/dist/article/fluid/example/linked-outputs/bar-chart-line-chart.expect.fld +0 -0
  227. package/dist/article/fluid/example/linked-outputs/bar-chart-line-chart.fld +0 -26
  228. package/dist/article/fluid/example/linked-outputs/convolution-data.fld +0 -5
  229. package/dist/article/fluid/example/linked-outputs/convolution.fld +0 -12
  230. package/dist/article/fluid/example/linked-outputs/line-chart.fld +0 -13
  231. package/dist/article/fluid/example/linked-outputs/moving-average-data.fld +0 -9
  232. package/dist/article/fluid/example/linked-outputs/moving-average.fld +0 -15
  233. package/dist/article/fluid/example/linked-outputs/pairs-data.fld +0 -1
  234. package/dist/article/fluid/example/linked-outputs/pairs.fld +0 -3
  235. package/dist/article/fluid/example/linked-outputs/renewables.fld +0 -100
  236. package/dist/article/fluid/example/linked-outputs/stacked-bar-chart-scatter-plot.fld +0 -38
  237. package/dist/article/fluid/example/lookup.fld +0 -15
  238. package/dist/article/fluid/example/map.fld +0 -1
  239. package/dist/article/fluid/example/mergeSort.fld +0 -22
  240. package/dist/article/fluid/example/normalise.fld +0 -3
  241. package/dist/article/fluid/example/nub.fld +0 -1
  242. package/dist/article/fluid/example/pattern-match.fld +0 -12
  243. package/dist/article/fluid/example/range.fld +0 -4
  244. package/dist/article/fluid/example/record-lookup.fld +0 -3
  245. package/dist/article/fluid/example/records.fld +0 -11
  246. package/dist/article/fluid/example/reverse.fld +0 -1
  247. package/dist/article/fluid/example/scratchpad.fld +0 -6
  248. package/dist/article/fluid/example/slicing/add.expect.fld +0 -1
  249. package/dist/article/fluid/example/slicing/add.fld +0 -1
  250. package/dist/article/fluid/example/slicing/array/array.expect.fld +0 -2
  251. package/dist/article/fluid/example/slicing/array/array.fld +0 -4
  252. package/dist/article/fluid/example/slicing/array/dims.expect.fld +0 -3
  253. package/dist/article/fluid/example/slicing/array/dims.fld +0 -3
  254. package/dist/article/fluid/example/slicing/array/lookup.expect.fld +0 -3
  255. package/dist/article/fluid/example/slicing/array/lookup.fld +0 -5
  256. package/dist/article/fluid/example/slicing/convolution/edgeDetect.expect.fld +0 -1
  257. package/dist/article/fluid/example/slicing/convolution/edgeDetect.fld +0 -1
  258. package/dist/article/fluid/example/slicing/convolution/emboss-wrap.fld +0 -1
  259. package/dist/article/fluid/example/slicing/convolution/emboss.expect.fld +0 -1
  260. package/dist/article/fluid/example/slicing/convolution/emboss.fld +0 -1
  261. package/dist/article/fluid/example/slicing/convolution/filter/edge-detect.fld +0 -5
  262. package/dist/article/fluid/example/slicing/convolution/filter/emboss.fld +0 -5
  263. package/dist/article/fluid/example/slicing/convolution/filter/gaussian.fld +0 -5
  264. package/dist/article/fluid/example/slicing/convolution/gaussian.expect.fld +0 -1
  265. package/dist/article/fluid/example/slicing/convolution/gaussian.fld +0 -1
  266. package/dist/article/fluid/example/slicing/convolution/test-image.fld +0 -7
  267. package/dist/article/fluid/example/slicing/dict/create.expect.fld +0 -1
  268. package/dist/article/fluid/example/slicing/dict/create.fld +0 -1
  269. package/dist/article/fluid/example/slicing/dict/difference.expect.fld +0 -3
  270. package/dist/article/fluid/example/slicing/dict/difference.fld +0 -3
  271. package/dist/article/fluid/example/slicing/dict/disjointUnion.expect.fld +0 -1
  272. package/dist/article/fluid/example/slicing/dict/disjointUnion.fld +0 -1
  273. package/dist/article/fluid/example/slicing/dict/foldl.expect.fld +0 -1
  274. package/dist/article/fluid/example/slicing/dict/foldl.fld +0 -1
  275. package/dist/article/fluid/example/slicing/dict/fromRecord.expect.fld +0 -2
  276. package/dist/article/fluid/example/slicing/dict/fromRecord.fld +0 -1
  277. package/dist/article/fluid/example/slicing/dict/get.expect.fld +0 -3
  278. package/dist/article/fluid/example/slicing/dict/get.fld +0 -2
  279. package/dist/article/fluid/example/slicing/dict/intersectionWith.expect.fld +0 -2
  280. package/dist/article/fluid/example/slicing/dict/intersectionWith.fld +0 -4
  281. package/dist/article/fluid/example/slicing/dict/map.expect.fld +0 -6
  282. package/dist/article/fluid/example/slicing/dict/map.fld +0 -5
  283. package/dist/article/fluid/example/slicing/divide.expect.fld +0 -1
  284. package/dist/article/fluid/example/slicing/divide.fld +0 -1
  285. package/dist/article/fluid/example/slicing/dtw/average-series.expect.fld +0 -8
  286. package/dist/article/fluid/example/slicing/dtw/average-series.fld +0 -8
  287. package/dist/article/fluid/example/slicing/dtw/compute-dtw.expect.fld +0 -6
  288. package/dist/article/fluid/example/slicing/dtw/compute-dtw.fld +0 -6
  289. package/dist/article/fluid/example/slicing/filter.expect.fld +0 -4
  290. package/dist/article/fluid/example/slicing/filter.fld +0 -6
  291. package/dist/article/fluid/example/slicing/intersperse-1.expect.fld +0 -4
  292. package/dist/article/fluid/example/slicing/intersperse-2.expect.fld +0 -4
  293. package/dist/article/fluid/example/slicing/intersperse.fld +0 -5
  294. package/dist/article/fluid/example/slicing/length.expect.fld +0 -1
  295. package/dist/article/fluid/example/slicing/length.fld +0 -1
  296. package/dist/article/fluid/example/slicing/linked-outputs/bar-chart-line-chart.expect.fld +0 -0
  297. package/dist/article/fluid/example/slicing/linked-outputs/bar-chart-line-chart.fld +0 -26
  298. package/dist/article/fluid/example/slicing/linked-outputs/renewables.fld +0 -100
  299. package/dist/article/fluid/example/slicing/linked-outputs/stacked-bar-scatter-plot.expect.fld +0 -0
  300. package/dist/article/fluid/example/slicing/linked-outputs/stacked-bar-scatter-plot.fld +0 -38
  301. package/dist/article/fluid/example/slicing/list-comp-1.expect.fld +0 -6
  302. package/dist/article/fluid/example/slicing/list-comp-2.expect.fld +0 -6
  303. package/dist/article/fluid/example/slicing/list-comp.fld +0 -8
  304. package/dist/article/fluid/example/slicing/lookup.expect.fld +0 -6
  305. package/dist/article/fluid/example/slicing/lookup.fld +0 -14
  306. package/dist/article/fluid/example/slicing/map.expect.fld +0 -1
  307. package/dist/article/fluid/example/slicing/map.fld +0 -1
  308. package/dist/article/fluid/example/slicing/matrix-update.expect.fld +0 -5
  309. package/dist/article/fluid/example/slicing/matrix-update.fld +0 -10
  310. package/dist/article/fluid/example/slicing/multiply.expect.fld +0 -1
  311. package/dist/article/fluid/example/slicing/multiply.fld +0 -1
  312. package/dist/article/fluid/example/slicing/nth.expect.fld +0 -1
  313. package/dist/article/fluid/example/slicing/nth.fld +0 -1
  314. package/dist/article/fluid/example/slicing/output-not-source.expect.fld +0 -2
  315. package/dist/article/fluid/example/slicing/output-not-source.fld +0 -1
  316. package/dist/article/fluid/example/slicing/section-5-example-1.expect.fld +0 -10
  317. package/dist/article/fluid/example/slicing/section-5-example-2.expect.fld +0 -10
  318. package/dist/article/fluid/example/slicing/section-5-example-3.expect.fld +0 -10
  319. package/dist/article/fluid/example/slicing/section-5-example.fld +0 -14
  320. package/dist/article/fluid/example/slicing/zeros-1.expect.fld +0 -3
  321. package/dist/article/fluid/example/slicing/zeros-2.expect.fld +0 -3
  322. package/dist/article/fluid/example/slicing/zeros.fld +0 -4
  323. package/dist/article/fluid/example/slicing/zipWith-1.expect.fld +0 -4
  324. package/dist/article/fluid/example/slicing/zipWith.fld +0 -4
  325. package/dist/article/fluid/example/text.fld +0 -27
  326. package/dist/article/fluid/lib/convolution.fld +0 -16
  327. package/dist/article/fluid/lib/dtw.fld +0 -47
  328. package/dist/article/fluid/lib/fnum.fld +0 -22
  329. package/dist/article/fluid/lib/graphics.fld +0 -221
  330. package/dist/article/fluid/lib/moving-average.fld +0 -35
  331. package/dist/article/fluid/lib/nombre.fld +0 -14
  332. package/dist/article/fluid/lib/prelude.fld +0 -246
  333. package/dist/article/index.html +0 -44
  334. package/fluid.js +0 -46
@@ -1,6 +0,0 @@
1
- [
2
- { year: 2018, country: "USA", energyType: "Bio", output: 61.83, capacity: 100.74},
3
- { year: 2018, country: "USA", energyType: "Hydro", output: 286.62, capacity: 734.79},
4
- { year: 2018, country: "USA", energyType: "Solar", output: 93.36, capacity: 455.43},
5
- { year: 2018, country: "USA", energyType: "Wind", output: 272.67, capacity: 829.31}
6
- ]
@@ -1,67 +0,0 @@
1
- [
2
- { country: "BRA", year: 2013, nuclearOut: 14.65, nuclearCap: 17.43, gasOut: 66.14, gasCap: 81.99, coalOut: 21.06, coalCap: 29.35, petrolOut: 24.79, petrolCap: 32.67},
3
- { country: "CHN", year: 2013, nuclearOut: 111.5, nuclearCap: 128.42, gasOut: 116.39, gasCap: 371.60, coalOut: 4077.37, coalCap: 6895.70, petrolOut: 33.0, petrolCap: 66.58},
4
- { country: "DEU", year: 2013, nuclearOut: 97.29, nuclearCap: 105.73, gasOut: 67.0, gasCap: 236.34, coalOut: 288.2, coalCap: 444.31, petrolOut: 25.25, petrolCap: 14.63},
5
- { country: "FRA", year: 2013, nuclearOut: 423.68, nuclearCap: 553.02, gasOut: 18.39, gasCap: 69.29, coalOut: 23.84, coalCap: 55.28, petrolOut: 11.41, petrolCap: 15.07},
6
- { country: "EGY", year: 2013, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 125.91, gasCap: 214.36, coalOut: 0.0, coalCap: 0.00, petrolOut: 27.66, petrolCap: 0.00},
7
- { country: "IND", year: 2013, nuclearOut: 33.31, nuclearCap: 41.87, gasOut: 66.31, gasCap: 180.89, coalOut: 847.97, coalCap: 1317.68, petrolOut: 10.65, petrolCap: 6.31},
8
- { country: "JPN", year: 2013, nuclearOut: 14.6, nuclearCap: 387.72, gasOut: 423.58, gasCap: 630.72, coalOut: 362.55, coalCap: 398.14, petrolOut: 166.48, petrolCap: 249.40},
9
- { country: "MEX", year: 2013, nuclearOut: 11.38, nuclearCap: 14.10, gasOut: 155.78, gasCap: 249.31, coalOut: 29.87, coalCap: 47.13, petrolOut: 45.6, petrolCap: 50.46},
10
- { country: "NGA", year: 2013, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 21.4, gasCap: 72.18, coalOut: 0.74, coalCap: 2.45, petrolOut: 0.0, petrolCap: 0.00},
11
- { country: "USA", year: 2013, nuclearOut: 789.02, nuclearCap: 869.34, gasOut: 1124.84, gasCap: 3821.81, coalOut: 1581.11, coalCap: 2880.03, petrolOut: 40.26, petrolCap: 409.62},
12
-
13
- { country: "BRA", year: 2014, nuclearOut: 14.46, nuclearCap: 17.43, gasOut: 77.75, gasCap: 86.64, coalOut: 25.8, coalCap: 29.35, petrolOut: 33.04, petrolCap: 32.67},
14
- { country: "CHN", year: 2014, nuclearOut: 133.22, nuclearCap: 175.90, gasOut: 133.28, gasCap: 486.88, coalOut: 4203.06, coalCap: 7168.92, petrolOut: 35.66, petrolCap: 61.41},
15
- { country: "DEU", year: 2014, nuclearOut: 97.13, nuclearCap: 105.73, gasOut: 60.61, gasCap: 238.36, coalOut: 274.41, coalCap: 438.88, petrolOut: 24.67, petrolCap: 14.63},
16
- { country: "FRA", year: 2014, nuclearOut: 436.48, nuclearCap: 553.02, gasOut: 13.16, gasCap: 69.29, coalOut: 11.26, coalCap: 50.81, petrolOut: 11.34, petrolCap: 16.21},
17
- { country: "EGY", year: 2014, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 127.39, gasCap: 220.93, coalOut: 0.0, coalCap: 0.00, petrolOut: 32.54, petrolCap: 0.00},
18
- { country: "IND", year: 2014, nuclearOut: 34.69, nuclearCap: 50.63, gasOut: 64.01, gasCap: 208.49, coalOut: 949.93, coalCap: 1496.91, petrolOut: 11.55, petrolCap: 6.31},
19
- { country: "JPN", year: 2014, nuclearOut: 0.0, nuclearCap: 387.72, gasOut: 450.88, gasCap: 679.60, coalOut: 355.6, coalCap: 398.14, petrolOut: 122.34, petrolCap: 249.40},
20
- { country: "MEX", year: 2014, nuclearOut: 9.3, nuclearCap: 14.10, gasOut: 161.38, gasCap: 258.68, coalOut: 31.32, coalCap: 47.13, petrolOut: 30.73, petrolCap: 50.46},
21
- { country: "NGA", year: 2014, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 24.42, gasCap: 72.18, coalOut: 0.84, coalCap: 2.45, petrolOut: 0.0, petrolCap: 0.00},
22
- { country: "USA", year: 2014, nuclearOut: 797.17, nuclearCap: 863.47, gasOut: 1126.61, gasCap: 3920.71, coalOut: 1581.71, coalCap: 2840.52, petrolOut: 43.69, petrolCap: 392.80},
23
-
24
- { country: "BRA", year: 2015, nuclearOut: 13.91, nuclearCap: 17.43, gasOut: 75.76, gasCap: 88.74, coalOut: 25.72, coalCap: 29.35, petrolOut: 27.37, petrolCap: 34.43},
25
- { country: "CHN", year: 2015, nuclearOut: 171.38, nuclearCap: 238.01, gasOut: 166.91, gasCap: 562.04, coalOut: 4046.17, coalCap: 7691.02, petrolOut: 36.46, petrolCap: 58.52},
26
- { country: "DEU", year: 2015, nuclearOut: 91.79, nuclearCap: 94.61, gasOut: 61.47, gasCap: 240.99, coalOut: 272.2, coalCap: 459.02, petrolOut: 25.57, petrolCap: 14.80},
27
- { country: "FRA", year: 2015, nuclearOut: 437.43, nuclearCap: 553.02, gasOut: 21.14, gasCap: 70.87, coalOut: 11.89, coalCap: 32.76, petrolOut: 11.81, petrolCap: 16.56},
28
- { country: "EGY", year: 2015, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 133.29, gasCap: 257.63, coalOut: 0.0, coalCap: 0.00, petrolOut: 37.39, petrolCap: 3.07},
29
- { country: "IND", year: 2015, nuclearOut: 38.31, nuclearCap: 50.63, gasOut: 64.77, gasCap: 227.15, coalOut: 1006.55, coalCap: 1677.63, petrolOut: 9.26, petrolCap: 6.31},
30
- { country: "JPN", year: 2015, nuclearOut: 4.52, nuclearCap: 368.36, gasOut: 417.5, gasCap: 694.67, coalOut: 349.64, coalCap: 398.84, petrolOut: 104.44, petrolCap: 249.40},
31
- { country: "MEX", year: 2015, nuclearOut: 11.18, nuclearCap: 14.10, gasOut: 173.69, gasCap: 265.87, coalOut: 31.48, coalCap: 47.13, petrolOut: 29.11, petrolCap: 50.46},
32
- { country: "NGA", year: 2015, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 24.4, gasCap: 88.13, coalOut: 0.69, coalCap: 2.45, petrolOut: 0.0, petrolCap: 0.00},
33
- { country: "USA", year: 2015, nuclearOut: 797.18, nuclearCap: 864.35, gasOut: 1333.48, gasCap: 4019.70, coalOut: 1352.4, coalCap: 2650.69, petrolOut: 44.44, petrolCap: 345.32},
34
-
35
- { country: "BRA", year: 2016, nuclearOut: 14.97, nuclearCap: 17.43, gasOut: 54.07, gasCap: 93.29, coalOut: 24.58, coalCap: 28.73, petrolOut: 14.41, petrolCap: 34.43},
36
- { country: "CHN", year: 2016, nuclearOut: 213.18, nuclearCap: 294.69, gasOut: 188.28, gasCap: 585.61, coalOut: 4156.35, coalCap: 8071.99, petrolOut: 52.56, petrolCap: 43.45},
37
- { country: "DEU", year: 2016, nuclearOut: 84.63, nuclearCap: 94.61, gasOut: 80.62, gasCap: 256.49, coalOut: 261.75, coalCap: 453.07, petrolOut: 25.39, petrolCap: 14.80},
38
- { country: "FRA", year: 2016, nuclearOut: 403.2, nuclearCap: 553.02, gasOut: 34.97, gasCap: 75.95, coalOut: 10.23, coalCap: 32.76, petrolOut: 11.4, petrolCap: 16.56},
39
- { country: "EGY", year: 2016, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 139.85, gasCap: 260.52, coalOut: 0.0, coalCap: 0.00, petrolOut: 34.23, petrolCap: 5.61},
40
- { country: "IND", year: 2016, nuclearOut: 37.9, nuclearCap: 50.63, gasOut: 72.62, gasCap: 235.38, coalOut: 1073.6, coalCap: 1830.66, petrolOut: 9.41, petrolCap: 6.31},
41
- { country: "JPN", year: 2016, nuclearOut: 17.68, nuclearCap: 363.36, gasOut: 421.84, gasCap: 723.31, coalOut: 345.24, coalCap: 400.42, petrolOut: 98.57, petrolCap: 249.40},
42
- { country: "MEX", year: 2016, nuclearOut: 10.27, nuclearCap: 14.10, gasOut: 177.08, gasCap: 283.56, coalOut: 31.78, coalCap: 47.13, petrolOut: 30.92, petrolCap: 50.46},
43
- { country: "NGA", year: 2016, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 23.24, gasCap: 89.18, coalOut: 0.65, coalCap: 2.45, petrolOut: 0.0, petrolCap: 0.00},
44
- { country: "USA", year: 2016, nuclearOut: 805.69, nuclearCap: 872.15, gasOut: 1378.31, gasCap: 4127.36, coalOut: 1239.15, coalCap: 2510.88, petrolOut: 39.5, petrolCap: 323.42},
45
-
46
- { country: "BRA", year: 2017, nuclearOut: 14.86, nuclearCap: 17.43, gasOut: 62.72, gasCap: 98.46, coalOut: 21.85, coalCap: 24.79, petrolOut: 17.33, petrolCap: 34.43},
47
- { country: "CHN", year: 2017, nuclearOut: 248.1, nuclearCap: 313.78, gasOut: 203.2, gasCap: 638.60, coalOut: 4430.03, coalCap: 8356.16, petrolOut: 56.05, petrolCap: 49.14},
48
- { country: "DEU", year: 2017, nuclearOut: 76.32, nuclearCap: 94.61, gasOut: 86.04, gasCap: 258.42, coalOut: 241.26, coalCap: 423.72, petrolOut: 25.16, petrolCap: 14.80},
49
- { country: "FRA", year: 2017, nuclearOut: 398.36, nuclearCap: 553.02, gasOut: 40.5, gasCap: 75.95, coalOut: 12.81, coalCap: 32.76, petrolOut: 12.12, petrolCap: 16.56},
50
- { country: "EGY", year: 2017, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 155.01, gasCap: 288.55, coalOut: 0.0, coalCap: 0.00, petrolOut: 26.3, petrolCap: 5.61},
51
- { country: "IND", year: 2017, nuclearOut: 37.41, nuclearCap: 59.39, gasOut: 74.99, gasCap: 237.05, coalOut: 1115.24, coalCap: 1878.93, petrolOut: 8.79, petrolCap: 6.31},
52
- { country: "JPN", year: 2017, nuclearOut: 29.07, nuclearCap: 342.78, gasOut: 428.92, gasCap: 733.74, coalOut: 342.88, coalCap: 403.92, petrolOut: 74.45, petrolCap: 249.40},
53
- { country: "MEX", year: 2017, nuclearOut: 10.57, nuclearCap: 14.10, gasOut: 179.25, gasCap: 298.28, coalOut: 28.12, coalCap: 47.13, petrolOut: 35.42, petrolCap: 50.46},
54
- { country: "NGA", year: 2017, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 24.38, gasCap: 89.18, coalOut: 0.68, coalCap: 2.45, petrolOut: 0.0, petrolCap: 0.00},
55
- { country: "USA", year: 2017, nuclearOut: 804.95, nuclearCap: 872.76, gasOut: 1296.44, gasCap: 4229.68, coalOut: 1205.84, coalCap: 2433.18, petrolOut: 37.89, petrolCap: 320.62},
56
-
57
- { country: "BRA", year: 2018, nuclearOut: 14.79, nuclearCap: 17.43, gasOut: 52.36, gasCap: 98.46, coalOut: 19.94, coalCap: 24.79, petrolOut: 14.39, petrolCap: 34.43},
58
- { country: "CHN", year: 2018, nuclearOut: 295.0, nuclearCap: 391.22, gasOut: 215.5, gasCap: 710.70, coalOut: 4763.92, coalCap: 8555.54, petrolOut: 56.4, petrolCap: 55.19},
59
- { country: "DEU", year: 2018, nuclearOut: 76.0, nuclearCap: 94.61, gasOut: 81.56, gasCap: 259.21, coalOut: 228.16, coalCap: 414.52, petrolOut: 23.63, petrolCap: 14.80},
60
- { country: "FRA", year: 2018, nuclearOut: 412.94, nuclearCap: 553.02, gasOut: 30.61, gasCap: 75.95, coalOut: 8.31, coalCap: 32.76, petrolOut: 10.56, petrolCap: 16.56},
61
- { country: "EGY", year: 2018, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 166.61, gasCap: 425.65, coalOut: 0.0, coalCap: 0.00, petrolOut: 15.7, petrolCap: 5.61},
62
- { country: "IND", year: 2018, nuclearOut: 39.05, nuclearCap: 59.39, gasOut: 71.26, gasCap: 237.66, coalOut: 1198.86, coalCap: 1927.29, petrolOut: 6.4, petrolCap: 6.31},
63
- { country: "JPN", year: 2018, nuclearOut: 49.11, nuclearCap: 333.23, gasOut: 425.37, gasCap: 747.84, coalOut: 345.13, coalCap: 405.50, petrolOut: 53.78, petrolCap: 241.69},
64
- { country: "MEX", year: 2018, nuclearOut: 13.32, nuclearCap: 14.10, gasOut: 200.38, gasCap: 308.88, coalOut: 27.0, coalCap: 47.13, petrolOut: 33.19, petrolCap: 50.46},
65
- { country: "NGA", year: 2018, nuclearOut: 0.0, nuclearCap: 0.00, gasOut: 23.49, gasCap: 94.26, coalOut: 0.62, coalCap: 2.45, petrolOut: 0.0, petrolCap: 0.00},
66
- { country: "USA", year: 2018, nuclearOut: 807.08, nuclearCap: 871.01, gasOut: 1469.13, gasCap: 4431.51, coalOut: 1149.49, coalCap: 2293.89, petrolOut: 42.68, petrolCap: 304.67}
67
- ]
@@ -1,301 +0,0 @@
1
- [
2
- { year: 2013, country: "BRA", energyType: "Bio", output: 39.27, capacity: 101.62},
3
- { year: 2013, country: "BRA", energyType: "Hydro", output: 390.99, capacity: 753.54},
4
- { year: 2013, country: "BRA", energyType: "Solar", output: 0.0, capacity: 0.09},
5
- { year: 2013, country: "BRA", energyType: "Wind", output: 6.58, capacity: 19.27},
6
-
7
- { year: 2013, country: "CHN", energyType: "Bio", output: 37.13, capacity: 38.46},
8
- { year: 2013, country: "CHN", energyType: "Hydro", output: 909.61, capacity: 2268.05},
9
- { year: 2013, country: "CHN", energyType: "Solar", output: 8.37, capacity: 155.58},
10
- { year: 2013, country: "CHN", energyType: "Wind", output: 138.26, capacity: 672.15},
11
-
12
- { year: 2013, country: "DEU", energyType: "Bio", output: 45.51, capacity: 61.58},
13
- { year: 2013, country: "DEU", energyType: "Hydro", output: 23.0, capacity: 48.97},
14
- { year: 2013, country: "DEU", energyType: "Solar", output: 30.62, capacity: 321.58},
15
- { year: 2013, country: "DEU", energyType: "Wind", output: 52.74, capacity: 293.28},
16
-
17
- { year: 2013, country: "FRA", energyType: "Bio", output: 5.68, capacity: 6.66},
18
- { year: 2013, country: "FRA", energyType: "Hydro", output: 71.92, capacity: 208.84},
19
- { year: 2013, country: "FRA", energyType: "Solar", output: 5.19, capacity: 46.25},
20
- { year: 2013, country: "FRA", energyType: "Wind", output: 16.13, capacity: 71.48},
21
-
22
- { year: 2013, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
23
- { year: 2013, country: "EGY", energyType: "Hydro", output: 13.22, capacity: 24.53},
24
- { year: 2013, country: "EGY", energyType: "Solar", output: 0.11, capacity: 0.26},
25
- { year: 2013, country: "EGY", energyType: "Wind", output: 1.33, capacity: 4.91},
26
-
27
- { year: 2013, country: "IND", energyType: "Bio", output: 22.48, capacity: 35.74},
28
- { year: 2013, country: "IND", energyType: "Hydro", output: 131.98, capacity: 345.06},
29
- { year: 2013, country: "IND", energyType: "Solar", output: 3.43, capacity: 14.02},
30
- { year: 2013, country: "IND", energyType: "Wind", output: 30.01, capacity: 161.36},
31
-
32
- { year: 2013, country: "JPN", energyType: "Bio", output: 23.18, capacity: 5.78},
33
- { year: 2013, country: "JPN", energyType: "Hydro", output: 79.33, capacity: 243.62},
34
- { year: 2013, country: "JPN", energyType: "Solar", output: 12.91, capacity: 119.14},
35
- { year: 2013, country: "JPN", energyType: "Wind", output: 5.13, capacity: 23.21},
36
-
37
- { year: 2013, country: "MEX", energyType: "Bio", output: 6.89, capacity: 4.47},
38
- { year: 2013, country: "MEX", energyType: "Hydro", output: 27.72, capacity: 101.88},
39
- { year: 2013, country: "MEX", energyType: "Solar", output: 0.11, capacity: 0.96},
40
- { year: 2013, country: "MEX", energyType: "Wind", output: 4.17, capacity: 18.57},
41
-
42
- { year: 2013, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
43
- { year: 2013, country: "NGA", energyType: "Hydro", output: 5.27, capacity: 18.48},
44
- { year: 2013, country: "NGA", energyType: "Solar", output: 0.02, capacity: 0.00},
45
- { year: 2013, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
46
-
47
- { year: 2013, country: "USA", energyType: "Bio", output: 60.86, capacity: 97.85},
48
- { year: 2013, country: "USA", energyType: "Hydro", output: 263.88, capacity: 727.17},
49
- { year: 2013, country: "USA", energyType: "Solar", output: 9.04, capacity: 116.07},
50
- { year: 2013, country: "USA", energyType: "Wind", output: 167.84, capacity: 527.35},
51
-
52
- { year: 2014, country: "BRA", energyType: "Bio", output: 45.15, capacity: 108.10},
53
- { year: 2014, country: "BRA", energyType: "Hydro", output: 373.44, capacity: 781.30},
54
- { year: 2014, country: "BRA", energyType: "Solar", output: 0.02, capacity: 0.18},
55
- { year: 2014, country: "BRA", energyType: "Wind", output: 12.21, capacity: 42.84},
56
-
57
- { year: 2014, country: "CHN", energyType: "Bio", output: 46.27, capacity: 41.70},
58
- { year: 2014, country: "CHN", energyType: "Hydro", output: 1059.69, capacity: 2476.89},
59
- { year: 2014, country: "CHN", energyType: "Solar", output: 23.51, capacity: 248.78},
60
- { year: 2014, country: "CHN", energyType: "Wind", output: 159.76, capacity: 848.14},
61
-
62
- { year: 2014, country: "DEU", energyType: "Bio", output: 48.29, capacity: 63.60},
63
- { year: 2014, country: "DEU", energyType: "Hydro", output: 19.59, capacity: 48.88},
64
- { year: 2014, country: "DEU", energyType: "Solar", output: 35.45, capacity: 332.00},
65
- { year: 2014, country: "DEU", energyType: "Wind", output: 58.5, capacity: 338.22},
66
-
67
- { year: 2014, country: "FRA", energyType: "Bio", output: 5.99, capacity: 7.18},
68
- { year: 2014, country: "FRA", energyType: "Hydro", output: 63.77, capacity: 208.93},
69
- { year: 2014, country: "FRA", energyType: "Solar", output: 6.39, capacity: 52.82},
70
- { year: 2014, country: "FRA", energyType: "Wind", output: 17.32, capacity: 80.59},
71
-
72
- { year: 2014, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
73
- { year: 2014, country: "EGY", energyType: "Hydro", output: 13.68, capacity: 24.53},
74
- { year: 2014, country: "EGY", energyType: "Solar", output: 0.24, capacity: 0.26},
75
- { year: 2014, country: "EGY", energyType: "Wind", output: 1.44, capacity: 4.91},
76
-
77
- { year: 2014, country: "IND", energyType: "Bio", output: 24.68, capacity: 43.01},
78
- { year: 2014, country: "IND", energyType: "Hydro", output: 139.0, capacity: 355.83},
79
- { year: 2014, country: "IND", energyType: "Solar", output: 4.91, capacity: 33.11},
80
- { year: 2014, country: "IND", energyType: "Wind", output: 33.45, capacity: 196.84},
81
-
82
- { year: 2014, country: "JPN", energyType: "Bio", output: 23.63, capacity: 6.57},
83
- { year: 2014, country: "JPN", energyType: "Hydro", output: 81.71, capacity: 244.14},
84
- { year: 2014, country: "JPN", energyType: "Solar", output: 23.55, capacity: 204.46},
85
- { year: 2014, country: "JPN", energyType: "Wind", output: 5.01, capacity: 24.09},
86
-
87
- { year: 2014, country: "MEX", energyType: "Bio", output: 6.62, capacity: 5.34},
88
- { year: 2014, country: "MEX", energyType: "Hydro", output: 38.55, capacity: 109.15},
89
- { year: 2014, country: "MEX", energyType: "Solar", output: 0.22, capacity: 1.49},
90
- { year: 2014, country: "MEX", energyType: "Wind", output: 6.35, capacity: 22.51},
91
-
92
- { year: 2014, country: "NGA", energyType: "Bio", output: 0.03, capacity: 0.09},
93
- { year: 2014, country: "NGA", energyType: "Hydro", output: 5.29, capacity: 18.48},
94
- { year: 2014, country: "NGA", energyType: "Solar", output: 0.02, capacity: 0.00},
95
- { year: 2014, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
96
-
97
- { year: 2014, country: "USA", energyType: "Bio", output: 63.99, capacity: 98.99},
98
- { year: 2014, country: "USA", energyType: "Hydro", output: 253.19, capacity: 731.37},
99
- { year: 2014, country: "USA", energyType: "Solar", output: 28.92, capacity: 158.64},
100
- { year: 2014, country: "USA", energyType: "Wind", output: 181.65, capacity: 564.41},
101
-
102
- { year: 2015, country: "BRA", energyType: "Bio", output: 47.54, capacity: 116.60},
103
- { year: 2015, country: "BRA", energyType: "Hydro", output: 359.74, capacity: 802.85},
104
- { year: 2015, country: "BRA", energyType: "Solar", output: 0.06, capacity: 0.44},
105
- { year: 2015, country: "BRA", energyType: "Wind", output: 21.47, capacity: 66.84},
106
-
107
- { year: 2015, country: "CHN", energyType: "Bio", output: 54.07, capacity: 49.41},
108
- { year: 2015, country: "CHN", energyType: "Hydro", output: 1114.52, capacity: 2597.34},
109
- { year: 2015, country: "CHN", energyType: "Solar", output: 39.48, capacity: 381.50},
110
- { year: 2015, country: "CHN", energyType: "Wind", output: 185.59, capacity: 1148.00},
111
-
112
- { year: 2015, country: "DEU", energyType: "Bio", output: 50.33, capacity: 65.44},
113
- { year: 2015, country: "DEU", energyType: "Hydro", output: 18.98, capacity: 48.97},
114
- { year: 2015, country: "DEU", energyType: "Solar", output: 38.08, capacity: 343.57},
115
- { year: 2015, country: "DEU", energyType: "Wind", output: 80.62, capacity: 390.52},
116
-
117
- { year: 2015, country: "FRA", energyType: "Bio", output: 6.53, capacity: 8.15},
118
- { year: 2015, country: "FRA", energyType: "Hydro", output: 55.56, capacity: 208.66},
119
- { year: 2015, country: "FRA", energyType: "Solar", output: 7.75, capacity: 62.55},
120
- { year: 2015, country: "FRA", energyType: "Wind", output: 21.42, capacity: 90.23},
121
-
122
- { year: 2015, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
123
- { year: 2015, country: "EGY", energyType: "Hydro", output: 13.41, capacity: 24.53},
124
- { year: 2015, country: "EGY", energyType: "Solar", output: 0.17, capacity: 0.35},
125
- { year: 2015, country: "EGY", energyType: "Wind", output: 2.06, capacity: 6.57},
126
-
127
- { year: 2015, country: "IND", energyType: "Bio", output: 30.62, capacity: 46.78},
128
- { year: 2015, country: "IND", energyType: "Hydro", output: 133.28, capacity: 370.72},
129
- { year: 2015, country: "IND", energyType: "Solar", output: 6.57, capacity: 49.93},
130
- { year: 2015, country: "IND", energyType: "Wind", output: 32.74, capacity: 219.79},
131
-
132
- { year: 2015, country: "JPN", energyType: "Bio", output: 28.49, capacity: 8.76},
133
- { year: 2015, country: "JPN", energyType: "Hydro", output: 85.77, capacity: 246.24},
134
- { year: 2015, country: "JPN", energyType: "Solar", output: 34.54, capacity: 299.15},
135
- { year: 2015, country: "JPN", energyType: "Wind", output: 5.22, capacity: 24.62},
136
-
137
- { year: 2015, country: "MEX", energyType: "Bio", output: 7.12, capacity: 6.31},
138
- { year: 2015, country: "MEX", energyType: "Hydro", output: 30.61, capacity: 107.05},
139
- { year: 2015, country: "MEX", energyType: "Solar", output: 0.24, capacity: 2.54},
140
- { year: 2015, country: "MEX", energyType: "Wind", output: 8.45, capacity: 28.65},
141
-
142
- { year: 2015, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
143
- { year: 2015, country: "NGA", energyType: "Hydro", output: 5.66, capacity: 18.48},
144
- { year: 2015, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.09},
145
- { year: 2015, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
146
-
147
- { year: 2015, country: "USA", energyType: "Bio", output: 63.63, capacity: 103.81},
148
- { year: 2015, country: "USA", energyType: "Hydro", output: 243.99, capacity: 731.46},
149
- { year: 2015, country: "USA", energyType: "Solar", output: 39.03, capacity: 212.34},
150
- { year: 2015, country: "USA", energyType: "Wind", output: 190.72, capacity: 637.47},
151
-
152
- { year: 2016, country: "BRA", energyType: "Bio", output: 49.14, capacity: 124.22},
153
- { year: 2016, country: "BRA", energyType: "Hydro", output: 380.91, capacity: 849.11},
154
- { year: 2016, country: "BRA", energyType: "Solar", output: 0.08, capacity: 1.14},
155
- { year: 2016, country: "BRA", energyType: "Wind", output: 33.24, capacity: 88.74},
156
-
157
- { year: 2016, country: "CHN", energyType: "Bio", output: 62.13, capacity: 56.06},
158
- { year: 2016, country: "CHN", energyType: "Hydro", output: 1153.27, capacity: 2675.13},
159
- { year: 2016, country: "CHN", energyType: "Solar", output: 66.53, capacity: 681.70},
160
- { year: 2016, country: "CHN", energyType: "Wind", output: 240.86, capacity: 1301.04},
161
-
162
- { year: 2016, country: "DEU", energyType: "Bio", output: 50.93, capacity: 67.28},
163
- { year: 2016, country: "DEU", energyType: "Hydro", output: 20.55, capacity: 49.32},
164
- { year: 2016, country: "DEU", energyType: "Solar", output: 37.56, capacity: 356.36},
165
- { year: 2016, country: "DEU", energyType: "Wind", output: 79.92, capacity: 433.09},
166
-
167
- { year: 2016, country: "FRA", energyType: "Bio", output: 7.52, capacity: 9.11},
168
- { year: 2016, country: "FRA", energyType: "Hydro", output: 60.84, capacity: 209.28},
169
- { year: 2016, country: "FRA", energyType: "Solar", output: 8.66, capacity: 67.45},
170
- { year: 2016, country: "FRA", energyType: "Wind", output: 21.38, capacity: 101.35},
171
-
172
- { year: 2016, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
173
- { year: 2016, country: "EGY", energyType: "Hydro", output: 12.72, capacity: 24.53},
174
- { year: 2016, country: "EGY", energyType: "Solar", output: 0.58, capacity: 0.53},
175
- { year: 2016, country: "EGY", energyType: "Wind", output: 2.2, capacity: 6.57},
176
-
177
- { year: 2016, country: "IND", energyType: "Bio", output: 24.82, capacity: 76.74},
178
- { year: 2016, country: "IND", energyType: "Hydro", output: 128.38, capacity: 375.28},
179
- { year: 2016, country: "IND", energyType: "Solar", output: 11.56, capacity: 87.42},
180
- { year: 2016, country: "IND", energyType: "Wind", output: 43.45, capacity: 251.41},
181
-
182
- { year: 2016, country: "JPN", energyType: "Bio", output: 23.67, capacity: 11.30},
183
- { year: 2016, country: "JPN", energyType: "Hydro", output: 79.43, capacity: 246.68},
184
- { year: 2016, country: "JPN", energyType: "Solar", output: 43.33, capacity: 368.27},
185
- { year: 2016, country: "JPN", energyType: "Wind", output: 5.34, capacity: 28.12},
186
-
187
- { year: 2016, country: "MEX", energyType: "Bio", output: 7.02, capacity: 7.36},
188
- { year: 2016, country: "MEX", energyType: "Hydro", output: 29.74, capacity: 110.20},
189
- { year: 2016, country: "MEX", energyType: "Solar", output: 0.46, capacity: 5.52},
190
- { year: 2016, country: "MEX", energyType: "Wind", output: 9.93, capacity: 35.48},
191
-
192
- { year: 2016, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
193
- { year: 2016, country: "NGA", energyType: "Hydro", output: 8.07, capacity: 18.48},
194
- { year: 2016, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.09},
195
- { year: 2016, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
196
-
197
- { year: 2016, country: "USA", energyType: "Bio", output: 62.76, capacity: 103.19},
198
- { year: 2016, country: "USA", energyType: "Hydro", output: 261.13, capacity: 734.26},
199
- { year: 2016, country: "USA", energyType: "Solar", output: 54.87, capacity: 310.37},
200
- { year: 2016, country: "USA", energyType: "Wind", output: 226.99, capacity: 713.94},
201
-
202
- { year: 2017, country: "BRA", energyType: "Bio", output: 50.6, capacity: 127.63},
203
- { year: 2017, country: "BRA", energyType: "Hydro", output: 370.91, capacity: 878.89},
204
- { year: 2017, country: "BRA", energyType: "Solar", output: 0.83, capacity: 10.60},
205
- { year: 2017, country: "BRA", energyType: "Wind", output: 42.06, capacity: 107.75},
206
-
207
- { year: 2017, country: "CHN", energyType: "Bio", output: 79.6, capacity: 66.49},
208
- { year: 2017, country: "CHN", energyType: "Hydro", output: 1165.06, capacity: 2753.97},
209
- { year: 2017, country: "CHN", energyType: "Solar", output: 117.8, capacity: 1146.07},
210
- { year: 2017, country: "CHN", energyType: "Wind", output: 304.6, capacity: 1439.88},
211
-
212
- { year: 2017, country: "DEU", energyType: "Bio", output: 50.92, capacity: 69.90},
213
- { year: 2017, country: "DEU", energyType: "Hydro", output: 20.15, capacity: 49.32},
214
- { year: 2017, country: "DEU", energyType: "Solar", output: 38.76, capacity: 370.46},
215
- { year: 2017, country: "DEU", energyType: "Wind", output: 105.69, capacity: 486.88},
216
-
217
- { year: 2017, country: "FRA", energyType: "Bio", output: 7.78, capacity: 9.55},
218
- { year: 2017, country: "FRA", energyType: "Hydro", output: 50.0, capacity: 210.06},
219
- { year: 2017, country: "FRA", energyType: "Solar", output: 9.59, capacity: 75.42},
220
- { year: 2017, country: "FRA", energyType: "Wind", output: 24.61, capacity: 118.26},
221
-
222
- { year: 2017, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
223
- { year: 2017, country: "EGY", energyType: "Hydro", output: 12.6, capacity: 24.53},
224
- { year: 2017, country: "EGY", energyType: "Solar", output: 0.6, capacity: 1.58},
225
- { year: 2017, country: "EGY", energyType: "Wind", output: 2.33, capacity: 6.57},
226
-
227
- { year: 2017, country: "IND", energyType: "Bio", output: 24.91, capacity: 81.21},
228
- { year: 2017, country: "IND", energyType: "Hydro", output: 135.82, capacity: 391.92},
229
- { year: 2017, country: "IND", energyType: "Solar", output: 21.54, capacity: 159.96},
230
- { year: 2017, country: "IND", energyType: "Wind", output: 52.63, capacity: 287.77},
231
-
232
- { year: 2017, country: "JPN", energyType: "Bio", output: 27.39, capacity: 14.63},
233
- { year: 2017, country: "JPN", energyType: "Hydro", output: 79.29, capacity: 246.33},
234
- { year: 2017, country: "JPN", energyType: "Solar", output: 54.24, capacity: 433.62},
235
- { year: 2017, country: "JPN", energyType: "Wind", output: 5.83, capacity: 30.48},
236
-
237
- { year: 2017, country: "MEX", energyType: "Bio", output: 7.4, capacity: 7.62},
238
- { year: 2017, country: "MEX", energyType: "Hydro", output: 31.74, capacity: 110.64},
239
- { year: 2017, country: "MEX", energyType: "Solar", output: 1.07, capacity: 9.90},
240
- { year: 2017, country: "MEX", energyType: "Wind", output: 9.91, capacity: 36.62},
241
-
242
- { year: 2017, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
243
- { year: 2017, country: "NGA", energyType: "Hydro", output: 7.67, capacity: 18.48},
244
- { year: 2017, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.18},
245
- { year: 2017, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
246
-
247
- { year: 2017, country: "USA", energyType: "Bio", output: 62.73, capacity: 102.67},
248
- { year: 2017, country: "USA", energyType: "Hydro", output: 293.84, capacity: 734.00},
249
- { year: 2017, country: "USA", energyType: "Solar", output: 77.28, capacity: 383.43},
250
- { year: 2017, country: "USA", energyType: "Wind", output: 254.3, capacity: 769.39},
251
-
252
- { year: 2018, country: "BRA", energyType: "Bio", output: 52.13, capacity: 129.74},
253
- { year: 2018, country: "BRA", energyType: "Hydro", output: 388.97, capacity: 915.24},
254
- { year: 2018, country: "BRA", energyType: "Solar", output: 3.44, capacity: 21.37},
255
- { year: 2018, country: "BRA", energyType: "Wind", output: 48.12, capacity: 130.00},
256
-
257
- { year: 2018, country: "CHN", energyType: "Bio", output: 93.73, capacity: 75.86},
258
- { year: 2018, country: "CHN", energyType: "Hydro", output: 1198.89, capacity: 2823.09},
259
- { year: 2018, country: "CHN", energyType: "Solar", output: 176.9, capacity: 1535.28},
260
- { year: 2018, country: "CHN", energyType: "Wind", output: 365.8, capacity: 1617.62},
261
-
262
- { year: 2018, country: "DEU", energyType: "Bio", output: 50.79, capacity: 75.34},
263
- { year: 2018, country: "DEU", energyType: "Hydro", output: 17.69, capacity: 46.69},
264
- { year: 2018, country: "DEU", energyType: "Solar", output: 44.32, capacity: 395.60},
265
- { year: 2018, country: "DEU", energyType: "Wind", output: 109.95, capacity: 514.39},
266
-
267
- { year: 2018, country: "FRA", energyType: "Bio", output: 8.38, capacity: 11.48},
268
- { year: 2018, country: "FRA", energyType: "Hydro", output: 65.11, capacity: 210.24},
269
- { year: 2018, country: "FRA", energyType: "Solar", output: 10.81, capacity: 84.71},
270
- { year: 2018, country: "FRA", energyType: "Wind", output: 28.6, capacity: 130.52},
271
-
272
- { year: 2018, country: "EGY", energyType: "Bio", output: 0.0, capacity: 0.61},
273
- { year: 2018, country: "EGY", energyType: "Hydro", output: 12.77, capacity: 24.79},
274
- { year: 2018, country: "EGY", energyType: "Solar", output: 1.52, capacity: 6.66},
275
- { year: 2018, country: "EGY", energyType: "Wind", output: 3.02, capacity: 9.90},
276
-
277
- { year: 2018, country: "IND", energyType: "Bio", output: 27.22, capacity: 87.42},
278
- { year: 2018, country: "IND", energyType: "Hydro", output: 139.75, capacity: 397.00},
279
- { year: 2018, country: "IND", energyType: "Solar", output: 36.33, capacity: 240.72},
280
- { year: 2018, country: "IND", energyType: "Wind", output: 60.31, capacity: 309.14},
281
-
282
- { year: 2018, country: "JPN", energyType: "Bio", output: 30.13, capacity: 18.22},
283
- { year: 2018, country: "JPN", energyType: "Hydro", output: 81.11, capacity: 246.51},
284
- { year: 2018, country: "JPN", energyType: "Solar", output: 62.11, capacity: 491.96},
285
- { year: 2018, country: "JPN", energyType: "Wind", output: 6.44, capacity: 30.66},
286
-
287
- { year: 2018, country: "MEX", energyType: "Bio", output: 6.85, capacity: 7.62},
288
- { year: 2018, country: "MEX", energyType: "Hydro", output: 32.3, capacity: 110.73},
289
- { year: 2018, country: "MEX", energyType: "Solar", output: 1.36, capacity: 22.60},
290
- { year: 2018, country: "MEX", energyType: "Wind", output: 12.53, capacity: 36.62},
291
-
292
- { year: 2018, country: "NGA", energyType: "Bio", output: 0.02, capacity: 0.09},
293
- { year: 2018, country: "NGA", energyType: "Hydro", output: 7.69, capacity: 18.48},
294
- { year: 2018, country: "NGA", energyType: "Solar", output: 0.03, capacity: 0.18},
295
- { year: 2018, country: "NGA", energyType: "Wind", output: 0.0, capacity: 0.00},
296
-
297
- { year: 2018, country: "USA", energyType: "Bio", output: 61.83, capacity: 100.74},
298
- { year: 2018, country: "USA", energyType: "Hydro", output: 286.62, capacity: 734.79},
299
- { year: 2018, country: "USA", energyType: "Solar", output: 93.36, capacity: 455.43},
300
- { year: 2018, country: "USA", energyType: "Wind", output: 272.67, capacity: 829.31}
301
- ]
@@ -1,26 +0,0 @@
1
- MultiView {|
2
- "bar-chart" :=
3
- let totalFor c rows =
4
- sum [ row.output | row <- rows, row.country == c ];
5
- let data2015 = [ row | row <- renewables, row.year == 2015 ];
6
- countryData = [ { x: c, bars: [ { y: "output", z: totalFor c data2015 } ] }
7
- | c <- ["China", "USA", "Germany"] ]
8
- in BarChart {
9
- caption: "Total output by country",
10
- data: countryData
11
- },
12
- "line-chart" :=
13
- let series type country = [
14
- { x: row.year, y: row.output }
15
- | year <- [2013..2018], row <- renewables,
16
- row.year == year, row.energyType == type, row.country == country
17
- ] in LineChart {
18
- caption: "Output of USA relative to China",
19
- plots: [
20
- LinePlot { name: type, data: plot }
21
- | type <- ["Bio", "Hydro", "Solar", "Wind"],
22
- let plot = zipWith (fun p1 p2 -> { x: p1.x, y: p1.y / p2.y })
23
- (series type "USA") (series type "China")
24
- ]
25
- }
26
- |}
@@ -1,5 +0,0 @@
1
- [[15, 13, 6 , 9, 16],
2
- [12, 5 , 15, 4, 13],
3
- [14, 9 , 20, 8, 1 ],
4
- [4 , 10, 3 , 7, 19],
5
- [3 , 11, 15, 2, 9 ]]
@@ -1,12 +0,0 @@
1
- (let filter' = [[0, 0, 0],
2
- [3, 7, 1],
3
- [0, 0, 0]];
4
- filter = [| nth2 i j filter' | (i, j) in (3, 3) |];
5
- image = [| nth2 i j data | (i, j) in (5, 5) |]
6
- in convolve image filter wrap,
7
- let filter' = [[0, 2, 0],
8
- [0, 7, 0],
9
- [0, 5, 0]];
10
- filter = [| nth2 i j filter' | (i, j) in (3, 3) |];
11
- image = [| nth2 i j data | (i, j) in (5, 5) |]
12
- in convolve image filter zero)
@@ -1,13 +0,0 @@
1
- let series type country = [
2
- { x: row.year, y: row.output }
3
- | year <- [2013..2018], row <- renewables,
4
- row.year == year, row.energyType == type, row.country == country
5
- ] in LineChart {
6
- caption: "Output of USA relative to China",
7
- plots: [
8
- LinePlot { name: type, data: plot }
9
- | type <- ["Bio", "Hydro", "Solar", "Wind"],
10
- let plot = zipWith (fun p1 p2 -> { x: p1.x, y: p1.y / p2.y })
11
- (series type "USA") (series type "China")
12
- ]
13
- }
@@ -1,9 +0,0 @@
1
- [
2
- { x: 2010, y: 10 },
3
- { x: 2011, y: 14 },
4
- { x: 2012, y: 23 },
5
- { x: 2013, y: 34 },
6
- { x: 2014, y: 13 },
7
- { x: 2015, y: 65 },
8
- { x: 2016, y: 720 }
9
- ]
@@ -1,15 +0,0 @@
1
- let newPoints offset = map (fun point -> { x: point.x, y: (point.y + offset) }) points;
2
-
3
- let points' = newPoints 0;
4
- cavgs = mAvgChop points' 1;
5
- cavgs' = mAvgShrink points' 1;
6
- savgs = sAvgShrink points' 2
7
- in MultiView {|
8
- "line-chart-1" :=
9
- LineChart {
10
- caption: "Moving averages",
11
- plots: [ LinePlot { name: "Simple", data: savgs }
12
- , LinePlot { name: "Central", data: cavgs }
13
- , LinePlot { name: "Original Curve", data: points' } ]
14
- }
15
- |}
@@ -1 +0,0 @@
1
- (1, (2, (3, 4)))
@@ -1,3 +0,0 @@
1
- let q = 1 in
2
- ((fun (w, (x, (y, z))) -> (w + x, (x + y, y + z))) data,
3
- (fun (w, (x, (y, z))) -> (w + q, (x + q, (y + q, z + q)))) data)
@@ -1,100 +0,0 @@
1
- -- The original dataset sometimes has '~0' instead of '0'.
2
- -- Including only 3 countries here. Also, have reduced the Hydro value for China 2015 from 296 to 96 (ouch)
3
- -- to make the charts fit nicely into grant proposal. Fix this once proposal submitted!
4
- [
5
- -- https://www.ren21.net/wp-content/uploads/2019/05/GSR2014_Full-Report_English.pdf
6
- { year: 2013, country: "China", energyType: "Bio", output: 6.2 },
7
- { year: 2013, country: "China", energyType: "Hydro", output: 260 },
8
- { year: 2013, country: "China", energyType: "Solar", output: 19.9 },
9
- { year: 2013, country: "China", energyType: "Wind", output: 91 },
10
-
11
- { year: 2013, country: "USA", energyType: "Bio", output: 15.8 },
12
- { year: 2013, country: "USA", energyType: "Hydro", output: 78 },
13
- { year: 2013, country: "USA", energyType: "Solar", output: 12.1 },
14
- { year: 2013, country: "USA", energyType: "Wind", output: 61 },
15
-
16
- { year: 2013, country: "Germany", energyType: "Bio", output: 8.1 },
17
- { year: 2013, country: "Germany", energyType: "Hydro", output: 5.6 },
18
- { year: 2013, country: "Germany", energyType: "Solar", output: 36 },
19
- { year: 2013, country: "Germany", energyType: "Wind", output: 34 },
20
-
21
- -- https://www.ren21.net/wp-content/uploads/2019/05/GSR2015_Full-Report_English.pdf
22
- { year: 2014, country: "China", energyType: "Bio", output: 10 },
23
- { year: 2014, country: "China", energyType: "Hydro", output: 280 },
24
- { year: 2014, country: "China", energyType: "Solar", output: 28 },
25
- { year: 2014, country: "China", energyType: "Wind", output: 115 },
26
-
27
- { year: 2014, country: "USA", energyType: "Bio", output: 16.1 },
28
- { year: 2014, country: "USA", energyType: "Hydro", output: 79 },
29
- { year: 2014, country: "USA", energyType: "Solar", output: 18 },
30
- { year: 2014, country: "USA", energyType: "Wind", output: 66 },
31
-
32
- { year: 2014, country: "Germany", energyType: "Bio", output: 8.8 },
33
- { year: 2014, country: "Germany", energyType: "Hydro", output: 5.6 },
34
- { year: 2014, country: "Germany", energyType: "Solar", output: 38 },
35
- { year: 2014, country: "Germany", energyType: "Wind", output: 39 },
36
-
37
- -- https://www.ren21.net/gsr-2016/00-Reference-Tables.php
38
- { year: 2015, country: "China", energyType: "Bio", output: 10.3 },
39
- { year: 2015, country: "China", energyType: "Hydro", output: 96 },
40
- { year: 2015, country: "China", energyType: "Solar", output: 44 },
41
- { year: 2015, country: "China", energyType: "Wind", output: 145 },
42
-
43
- { year: 2015, country: "USA", energyType: "Bio", output: 16.7 },
44
- { year: 2015, country: "USA", energyType: "Hydro", output: 80 },
45
- { year: 2015, country: "USA", energyType: "Solar", output: 26 },
46
- { year: 2015, country: "USA", energyType: "Wind", output: 74 },
47
-
48
- { year: 2015, country: "Germany", energyType: "Bio", output: 7.1 },
49
- { year: 2015, country: "Germany", energyType: "Hydro", output: 5.6 },
50
- { year: 2015, country: "Germany", energyType: "Solar", output: 40 },
51
- { year: 2015, country: "Germany", energyType: "Wind", output: 45 },
52
-
53
- -- https://www.ren21.net/gsr-2017/pages/tables/tables/#table-R2
54
- { year: 2016, country: "China", energyType: "Bio", output: 12 },
55
- { year: 2016, country: "China", energyType: "Hydro", output: 305 },
56
- { year: 2016, country: "China", energyType: "Solar", output: 77 },
57
- { year: 2016, country: "China", energyType: "Wind", output: 169 },
58
-
59
- { year: 2016, country: "USA", energyType: "Bio", output: 16.8 },
60
- { year: 2016, country: "USA", energyType: "Hydro", output: 80 },
61
- { year: 2016, country: "USA", energyType: "Solar", output: 41 },
62
- { year: 2016, country: "USA", energyType: "Wind", output: 82 },
63
-
64
- { year: 2016, country: "Germany", energyType: "Bio", output: 7.6 },
65
- { year: 2016, country: "Germany", energyType: "Hydro", output: 5.6 },
66
- { year: 2016, country: "Germany", energyType: "Solar", output: 41 },
67
- { year: 2016, country: "Germany", energyType: "Wind", output: 50 },
68
-
69
- -- https://www.ren21.net/gsr-2018/pages/tables/tables/#Table_R2
70
- { year: 2017, country: "China", energyType: "Bio", output: 14.9 },
71
- { year: 2017, country: "China", energyType: "Hydro", output: 313 },
72
- { year: 2017, country: "China", energyType: "Solar", output: 131 },
73
- { year: 2017, country: "China", energyType: "Wind", output: 188},
74
-
75
- { year: 2017, country: "USA", energyType: "Bio", output: 16.7 },
76
- { year: 2017, country: "USA", energyType: "Hydro", output: 80 },
77
- { year: 2017, country: "USA", energyType: "Solar", output: 51 },
78
- { year: 2017, country: "USA", energyType: "Wind", output: 89 },
79
-
80
- { year: 2017, country: "Germany", energyType: "Bio", output: 8 },
81
- { year: 2017, country: "Germany", energyType: "Hydro", output: 5.6 },
82
- { year: 2017, country: "Germany", energyType: "Solar", output: 42 },
83
- { year: 2017, country: "Germany", energyType: "Wind", output: 56 },
84
-
85
- -- https://www.ren21.net/gsr-2019/tables/table_02/table_02/
86
- { year: 2018, country: "China", energyType: "Bio", output: 17.8 },
87
- { year: 2018, country: "China", energyType: "Hydro", output: 322 },
88
- { year: 2018, country: "China", energyType: "Solar", output: 176 },
89
- { year: 2018, country: "China", energyType: "Wind", output: 210 },
90
-
91
- { year: 2018, country: "USA", energyType: "Bio", output: 16.2 },
92
- { year: 2018, country: "USA", energyType: "Hydro", output: 80 },
93
- { year: 2018, country: "USA", energyType: "Solar", output: 62 },
94
- { year: 2018, country: "USA", energyType: "Wind", output: 96 },
95
-
96
- { year: 2018, country: "Germany", energyType: "Bio", output: 8.4 },
97
- { year: 2018, country: "Germany", energyType: "Hydro", output: 5.6 },
98
- { year: 2018, country: "Germany", energyType: "Solar", output: 45 },
99
- { year: 2018, country: "Germany", energyType: "Wind", output: 59 }
100
- ]
@@ -1,38 +0,0 @@
1
- MultiView {|
2
- "stacked-bar-chart" :=
3
- let totalFor year country rows =
4
- let [ row ] = [ row | row <- rows, row.year == year, row.country == country ]
5
- in row.nuclearOut + row.gasOut + row.coalOut + row.petrolOut;
6
- let stack year = [ { y: country, z: totalFor year country nonRenewables }
7
- | country <- ["BRA", "EGY", "IND", "JPN"] ]
8
- in BarChart {
9
- caption: "Non-renewables by country",
10
- data: [ { x: numToStr year, bars: stack year }
11
- | year <- [2014..2018] ]
12
- },
13
- "scatter-plot" :=
14
- let isCountry name x = name == x.country;
15
- isYear year x = year == x.year;
16
-
17
- let plot year countries =
18
- let rens = filter (isYear year) renewables;
19
- nonRens = filter (isYear year) nonRenewables;
20
- let plotCountry country =
21
- let rens' = filter (isCountry country) rens;
22
- rensOut = sum (map (fun x -> x.output) rens');
23
- rensCap = sum (map (fun x -> x.capacity) rens');
24
- x = head (filter (isCountry country) nonRens);
25
- nonRensCap = x.nuclearCap + x.petrolCap + x.gasCap + x.coalCap
26
- in {
27
- x: rensCap / (rensCap + nonRensCap),
28
- y: (rensOut + x.nuclearOut) / (rensCap + x.nuclearCap)
29
- }
30
- in map plotCountry countries
31
-
32
- in ScatterPlot {
33
- caption: "Clean energy efficiency vs. proportion of renewable energy capacity",
34
- data: plot 2018 [ "BRA", "CHN", "DEU", "FRA", "EGY", "IND", "JPN", "MEX", "NGA", "USA" ],
35
- xlabel: "Renewables/TotalEnergyCap",
36
- ylabel: "Clean Capacity Factor"
37
- }
38
- |}