Commit 3d1c44ff authored by Tejesh's avatar Tejesh 🖖
Browse files

support topojson/geojson or mix of these, fix eclint issues

parent 24c83443
Pipeline #49442 passed with stage
in 2 minutes and 50 seconds
...@@ -5,7 +5,7 @@ cache: ...@@ -5,7 +5,7 @@ cache:
validate: validate:
script: script:
- eclint check '**/*.html' '**/*.js' '**/*.css' '**/*.yaml' '**/*.md' - eclint check "**/*.html" "**/*.js" "**/*.css" "**/*.yaml" "**/*.md"
- yarn install - yarn install
- npm run lint - npm run lint
- npm run test - npm run test
......
...@@ -153,9 +153,9 @@ Each template receives these variables: ...@@ -153,9 +153,9 @@ Each template receives these variables:
<!-- var template_page --> <!-- var template_page -->
<% var page = 1 + Math.floor(meta.offset / meta.limit), <% var page = 1 + Math.floor(meta.offset / meta.limit),
last_page = 'count' in meta ? Math.floor((meta.count + meta.limit - 1) / meta.limit) : meta.rows < meta.limit ? page : null, last_page = 'count' in meta ? Math.floor((meta.count + meta.limit - 1) / meta.limit) : meta.rows < meta.limit ? page : null,
lo = Math.max(page - 2, 1), lo = Math.max(page - 2, 1),
hi = last_page !== null ? Math.min(last_page, page + 2) : page + 2 hi = last_page !== null ? Math.min(last_page, page + 2) : page + 2
%> %>
<ul class="pagination pagination-sm"> <ul class="pagination pagination-sm">
<li class="page-item <%- page <= 1 ? 'disabled' : '' %>"> <li class="page-item <%- page <= 1 ? 'disabled' : '' %>">
......
...@@ -18,20 +18,20 @@ var defaults = { ...@@ -18,20 +18,20 @@ var defaults = {
} }
/* /*
* @class MapViewer * @class MapViewer
* @aka g1.MapViewer * @aka g1.MapViewer
* @inherits Class * @inherits Class
* *
* The central class of the API * The central class of the API
* It is used to create data reactive map layers from multiple kind of datasources * It is used to create data reactive map layers from multiple kind of datasources
* *
* @example * @example
* *
* ```js * ```js
* // initialize the map on the "map" div with a given center and zoom * // initialize the map on the "map" div with a given center and zoom
* var mapviewer = g1.mapviewer(config) * var mapviewer = g1.mapviewer(config)
* ``` * ```
*/ */
export var MapViewer = class MapViewer { export var MapViewer = class MapViewer {
constructor(config) { constructor(config) {
var self = this var self = this
...@@ -61,18 +61,20 @@ export var MapViewer = class MapViewer { ...@@ -61,18 +61,20 @@ export var MapViewer = class MapViewer {
} }
} }
} }
// * @method cacheData(<String> datasetName, 'String' URL || <Object> data): <Object> data /*
// * GETs data if not already there in this.gData * @method cacheData(<String> datasetName, 'String' URL || <Object> data): <Object> data
// * * GETs data if not already there in this.gData
// * TODO: If dataset itself is given, that is understood as data update. *
// * layers rendered based on this data must be reRendered. * TODO: If dataset itself is given, that is understood as data update.
// * ?? Do a data diff and then load dependant layers ?? * layers rendered based on this data must be reRendered.
// * * ?? Do a data diff and then load dependant layers ??
// * @example *
// * * @example
// *```js *
// mapviewer.cacheData('india_states', 'india-states.geojson') *```js
// *``` mapviewer.cacheData('india_states', 'india-states.geojson')
*```
*/
MapViewer.prototype.cacheData = function (layerName, url) { MapViewer.prototype.cacheData = function (layerName, url) {
var self = this var self = this
switch (typeof (url)) { switch (typeof (url)) {
...@@ -88,16 +90,18 @@ MapViewer.prototype.cacheData = function (layerName, url) { ...@@ -88,16 +90,18 @@ MapViewer.prototype.cacheData = function (layerName, url) {
case 'object': case 'object':
this.gData[JSON.stringify(url).hashCode()] = url this.gData[JSON.stringify(url).hashCode()] = url
// TODO: Reload all layers that use this data // TODO: Reload all layers that use this data
// This part will make mapviewer data reactive // This part will make mapviewer data reactive
return async function () { return async function () {
return url return url
}() }()
} }
} }
// * @method _saveLayer(<Layer> layer, <String> layerName ): this /*
// * Adds a layer to gLayers object, and * @method _saveLayer(<Layer> layer, <String> layerName ): this
// * * Adds a layer to gLayers object, and
// * Private method *
* Private method
*/
MapViewer.prototype._saveLayer = function (layerName, layer) { MapViewer.prototype._saveLayer = function (layerName, layer) {
var self = this, allLayersLoaded = true var self = this, allLayersLoaded = true
self.gLayers[layerName] = layer self.gLayers[layerName] = layer
...@@ -172,7 +176,7 @@ MapViewer.prototype.buildLayer = function (layerName, layerConfig) { ...@@ -172,7 +176,7 @@ MapViewer.prototype.buildLayer = function (layerName, layerConfig) {
gLayer = L.tileLayer(layerConfig.url, layerConfig.options) gLayer = L.tileLayer(layerConfig.url, layerConfig.options)
this._saveLayer(layerName, gLayer) this._saveLayer(layerName, gLayer)
break break
// TODO: remove duplicate code topojson and geojson case 'geojson':
case 'topojson': case 'topojson':
self.cacheData(layerName, layerConfig[dataOrURL(layerConfig)]).then(function (mapJSON) { self.cacheData(layerName, layerConfig[dataOrURL(layerConfig)]).then(function (mapJSON) {
gLayer = new L.TopoJSON(mapJSON, layerConfig.options) gLayer = new L.TopoJSON(mapJSON, layerConfig.options)
...@@ -189,22 +193,6 @@ MapViewer.prototype.buildLayer = function (layerName, layerConfig) { ...@@ -189,22 +193,6 @@ MapViewer.prototype.buildLayer = function (layerName, layerConfig) {
} }
}) })
break break
case 'geojson':
self.cacheData(layerName, layerConfig[dataOrURL(layerConfig)]).then(function (mapJSON) {
gLayer = L.geoJSON(mapJSON, layerConfig.options)
self._saveLayer(layerName, gLayer)
if ('link' in layerConfig) {
self.cacheData(layerName, layerConfig.link[dataOrURL(layerConfig.link)]).then(function (tableData) {
self.mergeData(mapJSON, tableData, layerConfig.link.mapKey, layerConfig.link.dataKey)
self.fitToLayer(layerName)
if ('attrs' in layerConfig) self._choropleth(layerName)
})
} else {
if ('attrs' in layerConfig) self._choropleth(layerName)
self.fitToLayer(layerName)
}
})
break
// TODO: remove duplicate code from marker and circkeMarker // TODO: remove duplicate code from marker and circkeMarker
case 'marker': case 'marker':
var pointLayers = [] var pointLayers = []
...@@ -254,7 +242,7 @@ MapViewer.prototype._choropleth = function (layerName) { ...@@ -254,7 +242,7 @@ MapViewer.prototype._choropleth = function (layerName) {
layer.eachLayer(function (sublayer) { layer.eachLayer(function (sublayer) {
var style = {}, prop, metricFormula, metric, domain var style = {}, prop, metricFormula, metric, domain
for (prop in self.options.layers[layerName].attrs) { for (prop in self.options.layers[layerName].attrs) {
if(prop.toLowerCase() == 'tooltip') continue if (prop.toLowerCase() == 'tooltip') continue
metric = self.options.layers[layerName].attrs[prop].metric metric = self.options.layers[layerName].attrs[prop].metric
if (typeof (metric) === 'string') if (typeof (metric) === 'string')
metricFormula = (row) => row[metric] metricFormula = (row) => row[metric]
...@@ -295,14 +283,16 @@ MapViewer.prototype._calculateMinMax = function (layer, metricFormula) { ...@@ -295,14 +283,16 @@ MapViewer.prototype._calculateMinMax = function (layer, metricFormula) {
}) })
return [minVal, maxVal] return [minVal, maxVal]
} }
// * @method fitToLayer(<String> layerName ): this /*
// * Zooms map view to fit the layer * @method fitToLayer(<String> layerName ): this
// * * Zooms map view to fit the layer
// * @example *
// * * @example
// *```js *
// mapviewer.fitToLayer('indiaGeojson') *```js
// *``` mapviewer.fitToLayer('indiaGeojson')
*```
*/
MapViewer.prototype.fitToLayer = function (layerName, options = {}) { MapViewer.prototype.fitToLayer = function (layerName, options = {}) {
this.map.fitBounds(this.gLayers[layerName].getBounds(), options) this.map.fitBounds(this.gLayers[layerName].getBounds(), options)
} }
...@@ -341,7 +331,8 @@ L.TopoJSON = L.GeoJSON.extend({ ...@@ -341,7 +331,8 @@ L.TopoJSON = L.GeoJSON.extend({
L.GeoJSON.prototype.addData.call(this, geojson) L.GeoJSON.prototype.addData.call(this, geojson)
} }
else else
throw new Error('json data is not of TopoJSON type') L.GeoJSON.prototype.addData.call(this, jsonData)
return this
} }
}) })
......
...@@ -10,18 +10,18 @@ ...@@ -10,18 +10,18 @@
6 hostname hostname 6 hostname hostname
7 port port 7 port port
9 pathname full path, excluding hash 9 pathname full path, excluding hash
12 search search parameters 12 search search parameters
13 hash url fragment 13 hash url fragment
The following are not part of window.location, but provided anyway. The following are not part of window.location, but provided anyway.
3 userinfo username:password 3 userinfo username:password
8 relative: Everything after origin 8 relative: Everything after origin
10 directory: Directory part of pathname 10 directory: Directory part of pathname
11 file: File part of pathname 11 file: File part of pathname
- searchKey search as an ordered dict of strings - searchKey search as an ordered dict of strings
- searchList search as an ordered dict of arrays - searchList search as an ordered dict of arrays
*/ */
var var
_url_parse_key = ['href','protocol','origin','userinfo','username','password','hostname','port','relative','pathname','directory','file','search','hash'], _url_parse_key = ['href','protocol','origin','userinfo','username','password','hostname','port','relative','pathname','directory','file','search','hash'],
...@@ -34,7 +34,7 @@ var _decode_uri_component = function(s) { return decodeURIComponent(s.replace(/\ ...@@ -34,7 +34,7 @@ var _decode_uri_component = function(s) { return decodeURIComponent(s.replace(/\
export function parse(str) { export function parse(str) {
/* Based on parseUri 1.2.2: http://blog.stevenlevithan.com/archives/parseuri /* Based on parseUri 1.2.2: http://blog.stevenlevithan.com/archives/parseuri
MIT License MIT License
*/ */
var uri = { var uri = {
toString: unparse, toString: unparse,
......
{"type":"Topology","transform":{"scale":[0.000090176317631762,0.00010300650065006513],"translate":[88.039381,27.066848]},"objects":{"S21_PC":{"type":"GeometryCollection","geometries":[{"type":"Polygon","arcs":[[0]],"properties":{"ST_CODE":"S21","ST_NAME":"SIKKIM","PC_NAME":"Sikkim","PC_TYPE":"GEN","AREA":6999.02829738,"PC_NO":1}}]}},"arcs":[[[8173,682],[-1227,380],[-386,-99],[-699,111],[-342,-123],[-274,-384],[-732,-567],[-1755,529],[-1134,-10],[-440,-179],[-479,256],[-349,785],[-341,119],[-15,386],[376,552],[-219,560],[328,371],[-319,430],[466,1099],[618,594],[189,772],[412,505],[-216,273],[184,323],[-596,260],[-224,327],[306,447],[581,-229],[393,292],[256,-247],[1228,394],[346,-78],[1068,730],[630,-101],[77,378],[861,388],[495,-453],[214,84],[798,-94],[805,-697],[-45,-673],[237,-53],[322,-629],[-295,-380],[43,-742],[-288,-338],[100,-337],[-365,-235],[-172,-474],[-384,-279],[339,-357],[-92,-724],[610,-683],[254,63],[234,-422],[444,-145],[-161,-455],[-1018,-258],[-319,-642],[-328,-321]]]} {"type":"Topology","transform":{"scale":[0.000090176317631762,0.00010300650065006513],"translate":[88.039381,27.066848]},"objects":{"S21_PC":{"type":"GeometryCollection","geometries":[{"type":"Polygon","arcs":[[0]],"properties":{"ST_CODE":"S21","ST_NAME":"SIKKIM","PC_NAME":"Sikkim","PC_TYPE":"GEN","AREA":6999.02829738,"PC_NO":1}}]}},"arcs":[[[8173,682],[-1227,380],[-386,-99],[-699,111],[-342,-123],[-274,-384],[-732,-567],[-1755,529],[-1134,-10],[-440,-179],[-479,256],[-349,785],[-341,119],[-15,386],[376,552],[-219,560],[328,371],[-319,430],[466,1099],[618,594],[189,772],[412,505],[-216,273],[184,323],[-596,260],[-224,327],[306,447],[581,-229],[393,292],[256,-247],[1228,394],[346,-78],[1068,730],[630,-101],[77,378],[861,388],[495,-453],[214,84],[798,-94],[805,-697],[-45,-673],[237,-53],[322,-629],[-295,-380],[43,-742],[-288,-338],[100,-337],[-365,-235],[-172,-474],[-384,-279],[339,-357],[-92,-724],[610,-683],[254,63],[234,-422],[444,-145],[-161,-455],[-1018,-258],[-319,-642],[-328,-321]]]}
\ No newline at end of file
...@@ -19,4 +19,4 @@ ...@@ -19,4 +19,4 @@
"score": 245, "score": 245,
"name": "Odisha" "name": "Odisha"
} }
] ]
\ No newline at end of file
[{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Europe"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"South America"},{"Continent":"South America"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"South America"},{"Continent":"North America"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Oceania"},{"Continent":"Oceania"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Oceania"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"South America"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Oceania"},{"Continent":"South America"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"South America"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"South America"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"}] [{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Europe"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"South America"},{"Continent":"South America"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"South America"},{"Continent":"North America"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Oceania"},{"Continent":"Oceania"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Oceania"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"South America"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Oceania"},{"Continent":"South America"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"South America"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"North America"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Europe"},{"Continent":"Africa"},{"Continent":"North America"},{"Continent":"South America"},{"Continent":"Asia"},{"Continent":"Europe"},{"Continent":"North America"},{"Continent":"South America"},{"Continent":"Asia"},{"Continent":"Oceania"},{"Continent":"Oceania"},{"Continent":"Asia"},{"Continent":"Africa"},{"Continent":"Africa"},{"Continent":"Africa"}]
\ No newline at end of file
[{"ID":"AND","c1":35,"c2":1,"c3":26,"c4":0,"c5":32,"c6":0,"c7":0,"c8":4,"Name":"Andorra","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"ARE","c1":24,"c2":0,"c3":0,"c4":25,"c5":0,"c6":0,"c7":25,"c8":24,"Name":"United Arab Emirates","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AFG","c1":28,"c2":1,"c3":0,"c4":33,"c5":0,"c6":0,"c7":33,"c8":3,"Name":"Afghanistan","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":"Country"},{"ID":"ATG","c1":50,"c2":0,"c3":5,"c4":0,"c5":0,"c6":10,"c7":25,"c8":7,"Name":"Antigua Barbuda","Continent":"North America","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"ALB","c1":87,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":12,"c8":0,"Name":"Albania","Continent":"Europe","Symbols":"Bird","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"ARM","c1":33,"c2":33,"c3":0,"c4":0,"c5":33,"c6":0,"c7":0,"c8":0,"Name":"Armenia","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AGO","c1":48,"c2":0,"c3":4,"c4":0,"c5":0,"c6":0,"c7":46,"c8":0,"Name":"Angola","Continent":"Africa","Symbols":"Weapon, Agriculture","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"ARG","c1":0,"c2":2,"c3":0,"c4":0,"c5":0,"c6":66,"c7":0,"c8":31,"Name":"Argentina","Continent":"South America","Symbols":"Sun","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AUT","c1":66,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":33,"Name":"Austria","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AUS","c1":9,"c2":0,"c3":0,"c4":0,"c5":79,"c6":0,"c7":0,"c8":11,"Name":"Australia","Continent":"Oceania","Symbols":null,"Shapes":"Stars","Stripes":null,"Cross":null,"Union-Flag":"Yes","Text":null},{"ID":"AZE","c1":31,"c2":0,"c3":0,"c4":33,"c5":0,"c6":33,"c7":0,"c8":1,"Name":"Azerbaijan","Continent":"Asia","Symbols":null,"Shapes":"Stars, Crescent","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BIH","c1":0,"c2":0,"c3":25,"c4":0,"c5":70,"c6":0,"c7":0,"c8":4,"Name":"Bosnia Herzegovina","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BRB","c1":0,"c2":0,"c3":29,"c4":0,"c5":66,"c6":0,"c7":3,"c8":0,"Name":"Barbados","Continent":"North America","Symbols":"Emblem","Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BGD","c1":20,"c2":0,"c3":0,"c4":79,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Bangladesh","Continent":"Asia","Symbols":"Sun","Shapes":"Circle","Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BEL","c1":33,"c2":0,"c3":33,"c4":0,"c5":0,"c6":0,"c7":33,"c8":0,"Name":"Belgium","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BFA","c1":49,"c2":0,"c3":2,"c4":48,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Burkina Faso","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BGR","c1":33,"c2":0,"c3":0,"c4":33,"c5":0,"c6":0,"c7":0,"c8":33,"Name":"Bulgaria","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BHR","c1":67,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":32,"Name":"Bahrain","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BDI","c1":30,"c2":0,"c3":0,"c4":34,"c5":0,"c6":0,"c7":0,"c8":34,"Name":"Burundi","Continent":"Africa","Symbols":null,"Shapes":"Stars","Stripes":"Diagonal","Cross":"Yes","Union-Flag":null,"Text":null},{"ID":"BEN","c1":30,"c2":0,"c3":29,"c4":40,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Benin","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BRN","c1":6,"c2":0,"c3":54,"c4":0,"c5":0,"c6":0,"c7":17,"c8":21,"Name":"Brunei Darussalam","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BOL","c1":33,"c2":0,"c3":33,"c4":33,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Bolivia","Continent":"South America","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BRA","c1":0,"c2":0,"c3":17,"c4":68,"c5":12,"c6":0,"c7":0,"c8":1,"Name":"Brazil","Continent":"South America","Symbols":null,"Shapes":"Stars, Circle","Stripes":null,"Cross":null,"Union-Flag":null,"Text":"Mottos"},{"ID":"BHS","c1":0,"c2":0,"c3":21,"c4":0,"c5":0,"c6":57,"c7":21,"c8":0,"Name":"Bahamas","Continent":"North America","Symbols":null,"Shapes":"Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BTN","c1":41,"c2":1,"c3":43,"c4":0,"c5":0,"c6":0,"c7":0,"c8":14,"Name":"Bhutan","Continent":"Asia","Symbols":"Animal","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BWA","c1":0,"c2":0,"c3":0,"c4":0,"c5":0,"c6":74,"c7":16,"c8":8,"Name":"Botswana","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BLR","c1":64,"c2":0,"c3":0,"c4":29,"c5":0,"c6":0,"c7":0,"c8":6,"Name":"Belarus","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BLZ","c1":17,"c2":0,"c3":0,"c4":5,"c5":54,"c6":0,"c7":1,"c8":21,"Name":"Belize","Continent":"North America","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CAN","c1":63,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":36,"Name":"Canada","Continent":"North America","Symbols":"Plant","Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"COD","c1":20,"c2":0,"c3":12,"c4":0,"c5":0,"c6":67,"c7":0,"c8":0,"Name":"Congo","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CAF","c1":16,"c2":0,"c3":21,"c4":20,"c5":19,"c6":0,"c7":0,"c8":20,"Name":"Central African Rep","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"COG","c1":33,"c2":0,"c3":33,"c4":33,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Congo","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CHE","c1":77,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":22,"Name":"Switzerland","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":"Yes","Union-Flag":null,"Text":null},{"ID":"CIV","c1":0,"c2":33,"c3":0,"c4":33,"c5":0,"c6":0,"c7":0,"c8":33,"Name":"Cote d Ivoire","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CHL","c1":50,"c2":0,"c3":0,"c4":0,"c5":15,"c6":0,"c7":0,"c8":34,"Name":"Chile","Continent":"South America","Symbols":null,"Shapes":"Stars","Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CMR","c1":31,"c2":0,"c3":34,"c4":33,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Cameroon","Continent":"Africa","Symbols":null,"Shapes":"Stars","Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CHN","c1":97,"c2":0,"c3":2,"c4":0,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"China","Continent":"Asia","Symbols":null,"Shapes":"Stars","Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"COL","c1":25,"c2":0,"c3":50,"c4":0,"c5":24,"c6":0,"c7":0,"c8":0,"Name":"Colombia","Continent":"South America","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CRI","c1":33,"c2":0,"c3":0,"c4":0,"c5":33,"c6":0,"c7":0,"c8":33,"Name":"Costa Rica","Continent":"North America","Symbols":"Landscape","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CUB","c1":20,"c2":0,"c3":0,"c4":0,"c5":48,"c6":0,"c7":0,"c8":30,"Name":"Cuba","Continent":"North America","Symbols":null,"Shapes":"Stars, Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CPV","c1":8,"c2":0,"c3":1,"c4":0,"c5":74,"c6":0,"c7":0,"c8":16,"Name":"Cabo Verde","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CYP","c1":0,"c2":6,"c3":0,"c4":2,"c5":0,"c6":0,"c7":0,"c8":90,"Name":"Cyprus","Continent":"Asia","Symbols":"Plant","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CZE","c1":37,"c2":0,"c3":0,"c4":0,"c5":25,"c6":0,"c7":0,"c8":37,"Name":"Czech Republic","Continent":"Europe","Symbols":null,"Shapes":"Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"DEU","c1":33,"c2":0,"c3":33,"c4":0,"c5":0,"c6":0,"c7":33,"c8":0,"Name":"Germany","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"DJI","c1":0,"c2":2,"c3":0,"c4":35,"c5":0,"c6":35,"c7":0,"c8":28,"Name":"Djibouti","Continent":"Africa","Symbols":null,"Shapes":"Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"DNK","c1":76,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":23,"Name":"Denmark","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":"Yes","Union-Flag":null,"Text":null},{"ID":"DMA","c1":8,"c2":0,"c3":8,"c4":66,"c5":0,"c6":0,"c7":8,"c8":8,"Name":"Dominica","Continent":"North America","Symbols":"Bird","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"DOM","c1":33,"c2":0,"c3":0,"c4":2,"c5":33,"c6":0,"c7":0,"c8":30,"Name":"Dominican","Continent":"North America","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"DZA","c1":6,"c2":0,"c3":0,"c4":46,"c5":0,"c6":0,"c7":0,"c8":47,"Name":"Algeria","Continent":"Africa","Symbols":null,"Shapes":"Crescent","Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"ECU","c1":26,"c2":1,"c3":47,"c4":1,"c5":22,"c6":0,"c7":1,"c8":0,"Name":"Ecuador","Continent":"South America","Symbols":"Bird","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null}] [{"ID":"AND","c1":35,"c2":1,"c3":26,"c4":0,"c5":32,"c6":0,"c7":0,"c8":4,"Name":"Andorra","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"ARE","c1":24,"c2":0,"c3":0,"c4":25,"c5":0,"c6":0,"c7":25,"c8":24,"Name":"United Arab Emirates","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AFG","c1":28,"c2":1,"c3":0,"c4":33,"c5":0,"c6":0,"c7":33,"c8":3,"Name":"Afghanistan","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":"Country"},{"ID":"ATG","c1":50,"c2":0,"c3":5,"c4":0,"c5":0,"c6":10,"c7":25,"c8":7,"Name":"Antigua Barbuda","Continent":"North America","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"ALB","c1":87,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":12,"c8":0,"Name":"Albania","Continent":"Europe","Symbols":"Bird","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"ARM","c1":33,"c2":33,"c3":0,"c4":0,"c5":33,"c6":0,"c7":0,"c8":0,"Name":"Armenia","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AGO","c1":48,"c2":0,"c3":4,"c4":0,"c5":0,"c6":0,"c7":46,"c8":0,"Name":"Angola","Continent":"Africa","Symbols":"Weapon, Agriculture","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"ARG","c1":0,"c2":2,"c3":0,"c4":0,"c5":0,"c6":66,"c7":0,"c8":31,"Name":"Argentina","Continent":"South America","Symbols":"Sun","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AUT","c1":66,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":33,"Name":"Austria","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"AUS","c1":9,"c2":0,"c3":0,"c4":0,"c5":79,"c6":0,"c7":0,"c8":11,"Name":"Australia","Continent":"Oceania","Symbols":null,"Shapes":"Stars","Stripes":null,"Cross":null,"Union-Flag":"Yes","Text":null},{"ID":"AZE","c1":31,"c2":0,"c3":0,"c4":33,"c5":0,"c6":33,"c7":0,"c8":1,"Name":"Azerbaijan","Continent":"Asia","Symbols":null,"Shapes":"Stars, Crescent","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BIH","c1":0,"c2":0,"c3":25,"c4":0,"c5":70,"c6":0,"c7":0,"c8":4,"Name":"Bosnia Herzegovina","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BRB","c1":0,"c2":0,"c3":29,"c4":0,"c5":66,"c6":0,"c7":3,"c8":0,"Name":"Barbados","Continent":"North America","Symbols":"Emblem","Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BGD","c1":20,"c2":0,"c3":0,"c4":79,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Bangladesh","Continent":"Asia","Symbols":"Sun","Shapes":"Circle","Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BEL","c1":33,"c2":0,"c3":33,"c4":0,"c5":0,"c6":0,"c7":33,"c8":0,"Name":"Belgium","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BFA","c1":49,"c2":0,"c3":2,"c4":48,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Burkina Faso","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BGR","c1":33,"c2":0,"c3":0,"c4":33,"c5":0,"c6":0,"c7":0,"c8":33,"Name":"Bulgaria","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BHR","c1":67,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":32,"Name":"Bahrain","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BDI","c1":30,"c2":0,"c3":0,"c4":34,"c5":0,"c6":0,"c7":0,"c8":34,"Name":"Burundi","Continent":"Africa","Symbols":null,"Shapes":"Stars","Stripes":"Diagonal","Cross":"Yes","Union-Flag":null,"Text":null},{"ID":"BEN","c1":30,"c2":0,"c3":29,"c4":40,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Benin","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BRN","c1":6,"c2":0,"c3":54,"c4":0,"c5":0,"c6":0,"c7":17,"c8":21,"Name":"Brunei Darussalam","Continent":"Asia","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BOL","c1":33,"c2":0,"c3":33,"c4":33,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Bolivia","Continent":"South America","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BRA","c1":0,"c2":0,"c3":17,"c4":68,"c5":12,"c6":0,"c7":0,"c8":1,"Name":"Brazil","Continent":"South America","Symbols":null,"Shapes":"Stars, Circle","Stripes":null,"Cross":null,"Union-Flag":null,"Text":"Mottos"},{"ID":"BHS","c1":0,"c2":0,"c3":21,"c4":0,"c5":0,"c6":57,"c7":21,"c8":0,"Name":"Bahamas","Continent":"North America","Symbols":null,"Shapes":"Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BTN","c1":41,"c2":1,"c3":43,"c4":0,"c5":0,"c6":0,"c7":0,"c8":14,"Name":"Bhutan","Continent":"Asia","Symbols":"Animal","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BWA","c1":0,"c2":0,"c3":0,"c4":0,"c5":0,"c6":74,"c7":16,"c8":8,"Name":"Botswana","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"BLR","c1":64,"c2":0,"c3":0,"c4":29,"c5":0,"c6":0,"c7":0,"c8":6,"Name":"Belarus","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"BLZ","c1":17,"c2":0,"c3":0,"c4":5,"c5":54,"c6":0,"c7":1,"c8":21,"Name":"Belize","Continent":"North America","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CAN","c1":63,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":36,"Name":"Canada","Continent":"North America","Symbols":"Plant","Shapes":null,"Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"COD","c1":20,"c2":0,"c3":12,"c4":0,"c5":0,"c6":67,"c7":0,"c8":0,"Name":"Congo","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CAF","c1":16,"c2":0,"c3":21,"c4":20,"c5":19,"c6":0,"c7":0,"c8":20,"Name":"Central African Rep","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"COG","c1":33,"c2":0,"c3":33,"c4":33,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Congo","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CHE","c1":77,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":22,"Name":"Switzerland","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":"Yes","Union-Flag":null,"Text":null},{"ID":"CIV","c1":0,"c2":33,"c3":0,"c4":33,"c5":0,"c6":0,"c7":0,"c8":33,"Name":"Cote d Ivoire","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CHL","c1":50,"c2":0,"c3":0,"c4":0,"c5":15,"c6":0,"c7":0,"c8":34,"Name":"Chile","Continent":"South America","Symbols":null,"Shapes":"Stars","Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CMR","c1":31,"c2":0,"c3":34,"c4":33,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"Cameroon","Continent":"Africa","Symbols":null,"Shapes":"Stars","Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CHN","c1":97,"c2":0,"c3":2,"c4":0,"c5":0,"c6":0,"c7":0,"c8":0,"Name":"China","Continent":"Asia","Symbols":null,"Shapes":"Stars","Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"COL","c1":25,"c2":0,"c3":50,"c4":0,"c5":24,"c6":0,"c7":0,"c8":0,"Name":"Colombia","Continent":"South America","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CRI","c1":33,"c2":0,"c3":0,"c4":0,"c5":33,"c6":0,"c7":0,"c8":33,"Name":"Costa Rica","Continent":"North America","Symbols":"Landscape","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CUB","c1":20,"c2":0,"c3":0,"c4":0,"c5":48,"c6":0,"c7":0,"c8":30,"Name":"Cuba","Continent":"North America","Symbols":null,"Shapes":"Stars, Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"CPV","c1":8,"c2":0,"c3":1,"c4":0,"c5":74,"c6":0,"c7":0,"c8":16,"Name":"Cabo Verde","Continent":"Africa","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CYP","c1":0,"c2":6,"c3":0,"c4":2,"c5":0,"c6":0,"c7":0,"c8":90,"Name":"Cyprus","Continent":"Asia","Symbols":"Plant","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"CZE","c1":37,"c2":0,"c3":0,"c4":0,"c5":25,"c6":0,"c7":0,"c8":37,"Name":"Czech Republic","Continent":"Europe","Symbols":null,"Shapes":"Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"DEU","c1":33,"c2":0,"c3":33,"c4":0,"c5":0,"c6":0,"c7":33,"c8":0,"Name":"Germany","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"DJI","c1":0,"c2":2,"c3":0,"c4":35,"c5":0,"c6":35,"c7":0,"c8":28,"Name":"Djibouti","Continent":"Africa","Symbols":null,"Shapes":"Triangle","Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null},{"ID":"DNK","c1":76,"c2":0,"c3":0,"c4":0,"c5":0,"c6":0,"c7":0,"c8":23,"Name":"Denmark","Continent":"Europe","Symbols":null,"Shapes":null,"Stripes":null,"Cross":"Yes","Union-Flag":null,"Text":null},{"ID":"DMA","c1":8,"c2":0,"c3":8,"c4":66,"c5":0,"c6":0,"c7":8,"c8":8,"Name":"Dominica","Continent":"North America","Symbols":"Bird","Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"DOM","c1":33,"c2":0,"c3":0,"c4":2,"c5":33,"c6":0,"c7":0,"c8":30,"Name":"Dominican","Continent":"North America","Symbols":null,"Shapes":null,"Stripes":null,"Cross":null,"Union-Flag":null,"Text":null},{"ID":"DZA","c1":6,"c2":0,"c3":0,"c4":46,"c5":0,"c6":0,"c7":0,"c8":47,"Name":"Algeria","Continent":"Africa","Symbols":null,"Shapes":"Crescent","Stripes":"Vertical","Cross":null,"Union-Flag":null,"Text":null},{"ID":"ECU","c1":26,"c2":1,"c3":47,"c4":1,"c5":22,"c6":0,"c7":1,"c8":0,"Name":"Ecuador","Continent":"South America","Symbols":"Bird","Shapes":null,"Stripes":"Horizontal","Cross":null,"Union-Flag":null,"Text":null}]
\ No newline at end of file
...@@ -167,4 +167,4 @@ ...@@ -167,4 +167,4 @@
"sales": "", "sales": "",
"growth": "" "growth": ""
} }
] ]
\ No newline at end of file
[ [
{ {
"date": "1-Jan-18", "date": "1-Jan-18",
"sales": 1 "sales": 1
}, },
{ {
"date": "2-Jan-18", "date": "2-Jan-18",
"sales": 2 "sales": 2
}, },
{ {
"date": "3-Jan-18", "date": "3-Jan-18",
"sales": 3 "sales": 3
}, },
{ {
"date": "4-Jan-18", "date": "4-Jan-18",
"sales": 4 "sales": 4
}, },
{ {
"date": "5-Jan-18", "date": "5-Jan-18",
"sales": 5 "sales": 5
}, },
{ {
"date": "6-Jan-18", "date": "6-Jan-18",
"sales": 6 "sales": 6
}, },
{ {
"date": "7-Jan-18", "date": "7-Jan-18",
"sales": 7 "sales": 7
}, },
{ {
"date": "8-Jan-18", "date": "8-Jan-18",
"sales": 8 "sales": 8
}, },
{ {
"date": "9-Jan-18", "date": "9-Jan-18",
"sales": 9 "sales": 9
}, },
{ {
"date": "10-Jan-18", "date": "10-Jan-18",
"sales": 10 "sales": 10
}, },
{ {
"date": "11-Jan-18", "date": "11-Jan-18",
"sales": 11 "sales": 11
}, },
{ {
"date": "12-Jan-18", "date": "12-Jan-18",
"sales": 12 "sales": 12
}, },
{ {
"date": "13-Jan-18", "date": "13-Jan-18",
"sales": 13 "sales": 13
}, },
{ {
"date": "14-Jan-18", "date": "14-Jan-18",
"sales": 14 "sales": 14
}, },
{ {
"date": "15-Jan-18", "date": "15-Jan-18",
"sales": 15 "sales": 15
}, },
{ {
"date": "16-Jan-18", "date": "16-Jan-18",
"sales": 16 "sales": 16
}, },
{ {
"date": "17-Jan-18", "date": "17-Jan-18",
"sales": 17 "sales": 17
}, },
{ {
"date": "18-Jan-18", "date": "18-Jan-18",
"sales": 18 "sales": 18
}, },
{ {
"date": "19-Jan-18", "date": "19-Jan-18",
"sales": 19 "sales": 19
}, },
{ {
"date": "20-Jan-18", "date": "20-Jan-18",
"sales": 20 "sales": 20
}, },
{ {
"date": "21-Jan-18", "date": "21-Jan-18",
"sales": 21 "sales": 21
}, },