vega-datasets
Advanced tools
Comparing version 1.25.0 to 1.26.0
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -33,2 +34,2 @@ }); | ||
export default data; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQUEsT0FBTyxJQUFJLE1BQU0sUUFBUSxDQUFDO0FBQzFCLE9BQU8sS0FBSyxFQUFFLE1BQU0sUUFBUSxDQUFDO0FBSTdCLE1BQU0sSUFBSSxHQUF5RSxFQUFTLENBQUM7QUFFN0YsS0FBSyxNQUFNLElBQUksSUFBSyxNQUFNLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBWSxFQUFFO0lBQzlDLE1BQU0sR0FBRyxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUN2QixNQUFNLENBQUMsR0FBUTs7WUFDWCxNQUFNLE1BQU0sR0FBRyxNQUFNLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQztZQUVoQyxJQUFJLElBQUksQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDLEVBQUU7Z0JBQ3hCLE9BQU8sTUFBTSxNQUFNLENBQUMsSUFBSSxFQUFFLENBQUM7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xFQUFFO2dCQUN4QixPQUFPLE1BQU0sTUFBTSxDQUFDLElBQUksRUFBRSxDQUFDO2FBQzlCO2lCQUFNLElBQUksSUFBSSxDQUFDLFFBQVEsQ0FBQyxNQUFNLENBQUMsRUFBRTtnQkFDOUIsNERBQTREO2dCQUM1RCxPQUFPLEVBQUUsQ0FBQyxRQUFRLENBQUMsTUFBTSxNQUFNLENBQUMsSUFBSSxFQUFFLEVBQUcsRUFBVSxDQUFDLFFBQVEsQ0FBQyxDQUFDO2FBQ2pFO2lCQUFNO2dCQUNILE9BQU8sTUFBTSxNQUFNLENBQUMsSUFBSSxFQUFFLENBQUM7YUFDOUI7UUFDTCxDQUFDO0tBQUEsQ0FBQTtJQUNELENBQUMsQ0FBQyxHQUFHLEdBQUcsR0FBRyxDQUFDO0lBQ1osSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztDQUNsQjtBQUVELGVBQWUsSUFBSSxDQUFDIn0= |
@@ -38,2 +38,3 @@ declare const _default: { | ||
'unemployment-across-industries.json': string; | ||
'uniform-2d.json': string; | ||
'us-10m.json': string; | ||
@@ -40,0 +41,0 @@ 'us-state-capitals.json': string; |
@@ -38,2 +38,3 @@ export default { | ||
'unemployment-across-industries.json': 'https://vega.github.io/vega-datasets/data/unemployment-across-industries.json', | ||
'uniform-2d.json': 'https://vega.github.io/vega-datasets/data/uniform-2d.json', | ||
'us-10m.json': 'https://vega.github.io/vega-datasets/data/us-10m.json', | ||
@@ -69,2 +70,2 @@ 'us-state-capitals.json': 'https://vega.github.io/vega-datasets/data/us-state-capitals.json', | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJscy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy91cmxzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGVBQWU7SUFDYixlQUFlLEVBQUUseURBQXlEO0lBQzFFL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LFlBQVksRUFBRSxzREFBc0Q7SUFDcEUsbUJBQW1CLEVBQUUsNkRBQTZEO0lBQ2xGLGFBQWEsRUFBRSx1REFBdUQ7SUFDdEUsaUJBQWlCLEVBQUUsMkRBQTJEO0lBQzlFLGNBQWMsRUFBRSx3REFBd0Q7SUFDeEUsa0JBQWtCLEVBQUUsNERBQTREO0lBQ2hGLG9CQUFvQixFQUFFLDhEQUE4RDtDQUNyRixDQUFBIn0= |
@@ -44,2 +44,3 @@ (function (global, factory) { | ||
'unemployment-across-industries.json': 'https://vega.github.io/vega-datasets/data/unemployment-across-industries.json', | ||
'uniform-2d.json': 'https://vega.github.io/vega-datasets/data/uniform-2d.json', | ||
'us-10m.json': 'https://vega.github.io/vega-datasets/data/us-10m.json', | ||
@@ -128,3 +129,3 @@ 'us-state-capitals.json': 'https://vega.github.io/vega-datasets/data/us-state-capitals.json', | ||
return isNaN(date) ? "Invalid Date" | ||
: formatYear(date.getUTCFullYear(), 4) + "-" + pad(date.getUTCMonth() + 1, 2) + "-" + pad(date.getUTCDate(), 2) | ||
: formatYear(date.getUTCFullYear()) + "-" + pad(date.getUTCMonth() + 1, 2) + "-" + pad(date.getUTCDate(), 2) | ||
+ (milliseconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "." + pad(milliseconds, 3) + "Z" | ||
@@ -262,6 +263,7 @@ : seconds ? "T" + pad(hours, 2) + ":" + pad(minutes, 2) + ":" + pad(seconds, 2) + "Z" | ||
var __awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | ||
return new (P || (P = Promise))(function (resolve, reject) { | ||
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | ||
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | ||
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); } | ||
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | ||
step((generator = generator.apply(thisArg, _arguments || [])).next()); | ||
@@ -268,0 +270,0 @@ }); |
@@ -1,1 +0,1 @@ | ||
!function(t,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):(t=t||self).vegaDatasets=a()}(this,function(){"use strict";var t={"anscombe.json":"https://vega.github.io/vega-datasets/data/anscombe.json","barley.json":"https://vega.github.io/vega-datasets/data/barley.json","birdstrikes.json":"https://vega.github.io/vega-datasets/data/birdstrikes.json","budget.json":"https://vega.github.io/vega-datasets/data/budget.json","budgets.json":"https://vega.github.io/vega-datasets/data/budgets.json","burtin.json":"https://vega.github.io/vega-datasets/data/burtin.json","cars.json":"https://vega.github.io/vega-datasets/data/cars.json","climate.json":"https://vega.github.io/vega-datasets/data/climate.json","countries.json":"https://vega.github.io/vega-datasets/data/countries.json","crimea.json":"https://vega.github.io/vega-datasets/data/crimea.json","driving.json":"https://vega.github.io/vega-datasets/data/driving.json","earthquakes.json":"https://vega.github.io/vega-datasets/data/earthquakes.json","flare-dependencies.json":"https://vega.github.io/vega-datasets/data/flare-dependencies.json","flare.json":"https://vega.github.io/vega-datasets/data/flare.json","flights-10k.json":"https://vega.github.io/vega-datasets/data/flights-10k.json","flights-200k.json":"https://vega.github.io/vega-datasets/data/flights-200k.json","flights-20k.json":"https://vega.github.io/vega-datasets/data/flights-20k.json","flights-2k.json":"https://vega.github.io/vega-datasets/data/flights-2k.json","flights-5k.json":"https://vega.github.io/vega-datasets/data/flights-5k.json","gapminder.json":"https://vega.github.io/vega-datasets/data/gapminder.json","graticule.json":"https://vega.github.io/vega-datasets/data/graticule.json","income.json":"https://vega.github.io/vega-datasets/data/income.json","iris.json":"https://vega.github.io/vega-datasets/data/iris.json","jobs.json":"https://vega.github.io/vega-datasets/data/jobs.json","londonBoroughs.json":"https://vega.github.io/vega-datasets/data/londonBoroughs.json","londonCentroids.json":"https://vega.github.io/vega-datasets/data/londonCentroids.json","londonTubeLines.json":"https://vega.github.io/vega-datasets/data/londonTubeLines.json","miserables.json":"https://vega.github.io/vega-datasets/data/miserables.json","monarchs.json":"https://vega.github.io/vega-datasets/data/monarchs.json","movies.json":"https://vega.github.io/vega-datasets/data/movies.json","normal-2d.json":"https://vega.github.io/vega-datasets/data/normal-2d.json","obesity.json":"https://vega.github.io/vega-datasets/data/obesity.json","points.json":"https://vega.github.io/vega-datasets/data/points.json","population.json":"https://vega.github.io/vega-datasets/data/population.json","udistrict.json":"https://vega.github.io/vega-datasets/data/udistrict.json","unemployment-across-industries.json":"https://vega.github.io/vega-datasets/data/unemployment-across-industries.json","us-10m.json":"https://vega.github.io/vega-datasets/data/us-10m.json","us-state-capitals.json":"https://vega.github.io/vega-datasets/data/us-state-capitals.json","weather.json":"https://vega.github.io/vega-datasets/data/weather.json","weball26.json":"https://vega.github.io/vega-datasets/data/weball26.json","wheat.json":"https://vega.github.io/vega-datasets/data/wheat.json","world-110m.json":"https://vega.github.io/vega-datasets/data/world-110m.json","airports.csv":"https://vega.github.io/vega-datasets/data/airports.csv","co2-concentration.csv":"https://vega.github.io/vega-datasets/data/co2-concentration.csv","disasters.csv":"https://vega.github.io/vega-datasets/data/disasters.csv","flights-3m.csv":"https://vega.github.io/vega-datasets/data/flights-3m.csv","flights-airport.csv":"https://vega.github.io/vega-datasets/data/flights-airport.csv","gapminder-health-income.csv":"https://vega.github.io/vega-datasets/data/gapminder-health-income.csv","github.csv":"https://vega.github.io/vega-datasets/data/github.csv","iowa-electricity.csv":"https://vega.github.io/vega-datasets/data/iowa-electricity.csv","la-riots.csv":"https://vega.github.io/vega-datasets/data/la-riots.csv","lookup_groups.csv":"https://vega.github.io/vega-datasets/data/lookup_groups.csv","lookup_people.csv":"https://vega.github.io/vega-datasets/data/lookup_people.csv","population_engineers_hurricanes.csv":"https://vega.github.io/vega-datasets/data/population_engineers_hurricanes.csv","seattle-temps.csv":"https://vega.github.io/vega-datasets/data/seattle-temps.csv","seattle-weather.csv":"https://vega.github.io/vega-datasets/data/seattle-weather.csv","sf-temps.csv":"https://vega.github.io/vega-datasets/data/sf-temps.csv","sp500.csv":"https://vega.github.io/vega-datasets/data/sp500.csv","stocks.csv":"https://vega.github.io/vega-datasets/data/stocks.csv","us-employment.csv":"https://vega.github.io/vega-datasets/data/us-employment.csv","weather.csv":"https://vega.github.io/vega-datasets/data/weather.csv","windvectors.csv":"https://vega.github.io/vega-datasets/data/windvectors.csv","zipcodes.csv":"https://vega.github.io/vega-datasets/data/zipcodes.csv","unemployment.tsv":"https://vega.github.io/vega-datasets/data/unemployment.tsv","flights-200k.arrow":"https://vega.github.io/vega-datasets/data/flights-200k.arrow"},a={},s={},e=34,o=10,i=13;function n(t){return new Function("d","return {"+t.map(function(t,a){return JSON.stringify(t)+": d["+a+"]"}).join(",")+"}")}function g(t){var a=Object.create(null),s=[];return t.forEach(function(t){for(var e in t)e in a||s.push(a[e]=e)}),s}function d(t,a){var s=t+"",e=s.length;return e<a?new Array(a-e+1).join(0)+s:s}function r(t){var a,s=t.getUTCHours(),e=t.getUTCMinutes(),o=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((a=t.getUTCFullYear())<0?"-"+d(-a,6):a>9999?"+"+d(a,6):d(a,4))+"-"+d(t.getUTCMonth()+1,2)+"-"+d(t.getUTCDate(),2)+(i?"T"+d(s,2)+":"+d(e,2)+":"+d(o,2)+"."+d(i,3)+"Z":o?"T"+d(s,2)+":"+d(e,2)+":"+d(o,2)+"Z":e||s?"T"+d(s,2)+":"+d(e,2)+"Z":"")}function v(t){var d=new RegExp('["'+t+"\n\r]"),v=t.charCodeAt(0);function u(t,n){var g,d=[],r=t.length,u=0,h=0,c=r<=0,p=!1;function l(){if(c)return s;if(p)return p=!1,a;var n,g,d=u;if(t.charCodeAt(d)===e){for(;u++<r&&t.charCodeAt(u)!==e||t.charCodeAt(++u)===e;);return(n=u)>=r?c=!0:(g=t.charCodeAt(u++))===o?p=!0:g===i&&(p=!0,t.charCodeAt(u)===o&&++u),t.slice(d+1,n-1).replace(/""/g,'"')}for(;u<r;){if((g=t.charCodeAt(n=u++))===o)p=!0;else if(g===i)p=!0,t.charCodeAt(u)===o&&++u;else if(g!==v)continue;return t.slice(d,n)}return c=!0,t.slice(d,r)}for(t.charCodeAt(r-1)===o&&--r,t.charCodeAt(r-1)===i&&--r;(g=l())!==s;){for(var j=[];g!==a&&g!==s;)j.push(g),g=l();n&&null==(j=n(j,h++))||d.push(j)}return d}function h(a,s){return a.map(function(a){return s.map(function(t){return p(a[t])}).join(t)})}function c(a){return a.map(p).join(t)}function p(t){return null==t?"":t instanceof Date?r(t):d.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,a){var s,e,o=u(t,function(t,o){if(s)return s(t,o-1);e=t,s=a?function(t,a){var s=n(t);return function(e,o){return a(s(e),o,t)}}(t,a):n(t)});return o.columns=e||[],o},parseRows:u,format:function(a,s){return null==s&&(s=g(a)),[s.map(p).join(t)].concat(h(a,s)).join("\n")},formatBody:function(t,a){return null==a&&(a=g(t)),h(t,a).join("\n")},formatRows:function(t){return t.map(c).join("\n")}}}var u=v(",").parse;v("\t");function h(t){for(var a in t){var s,e=t[a].trim();if(e)if("true"===e)e=!0;else if("false"===e)e=!1;else if("NaN"===e)e=NaN;else if(isNaN(s=+e)){if(!/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/.test(e))continue;e=new Date(e)}else e=s;else e=null;t[a]=e}return t}var c=function(t,a,s,e){return new(s||(s=Promise))(function(o,i){function n(t){try{d(e.next(t))}catch(t){i(t)}}function g(t){try{d(e.throw(t))}catch(t){i(t)}}function d(t){t.done?o(t.value):new s(function(a){a(t.value)}).then(n,g)}d((e=e.apply(t,a||[])).next())})};const p={};for(const a of Object.keys(t)){const s=t[a],e=function(){return c(this,void 0,void 0,function*(){const t=yield fetch(s);return a.endsWith(".json")?yield t.json():a.endsWith(".csv")?u(yield t.text(),h):yield t.text()})};e.url=s,p[a]=e}return p}); | ||
!function(t,a){"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):(t=t||self).vegaDatasets=a()}(this,(function(){"use strict";var t={"anscombe.json":"https://vega.github.io/vega-datasets/data/anscombe.json","barley.json":"https://vega.github.io/vega-datasets/data/barley.json","birdstrikes.json":"https://vega.github.io/vega-datasets/data/birdstrikes.json","budget.json":"https://vega.github.io/vega-datasets/data/budget.json","budgets.json":"https://vega.github.io/vega-datasets/data/budgets.json","burtin.json":"https://vega.github.io/vega-datasets/data/burtin.json","cars.json":"https://vega.github.io/vega-datasets/data/cars.json","climate.json":"https://vega.github.io/vega-datasets/data/climate.json","countries.json":"https://vega.github.io/vega-datasets/data/countries.json","crimea.json":"https://vega.github.io/vega-datasets/data/crimea.json","driving.json":"https://vega.github.io/vega-datasets/data/driving.json","earthquakes.json":"https://vega.github.io/vega-datasets/data/earthquakes.json","flare-dependencies.json":"https://vega.github.io/vega-datasets/data/flare-dependencies.json","flare.json":"https://vega.github.io/vega-datasets/data/flare.json","flights-10k.json":"https://vega.github.io/vega-datasets/data/flights-10k.json","flights-200k.json":"https://vega.github.io/vega-datasets/data/flights-200k.json","flights-20k.json":"https://vega.github.io/vega-datasets/data/flights-20k.json","flights-2k.json":"https://vega.github.io/vega-datasets/data/flights-2k.json","flights-5k.json":"https://vega.github.io/vega-datasets/data/flights-5k.json","gapminder.json":"https://vega.github.io/vega-datasets/data/gapminder.json","graticule.json":"https://vega.github.io/vega-datasets/data/graticule.json","income.json":"https://vega.github.io/vega-datasets/data/income.json","iris.json":"https://vega.github.io/vega-datasets/data/iris.json","jobs.json":"https://vega.github.io/vega-datasets/data/jobs.json","londonBoroughs.json":"https://vega.github.io/vega-datasets/data/londonBoroughs.json","londonCentroids.json":"https://vega.github.io/vega-datasets/data/londonCentroids.json","londonTubeLines.json":"https://vega.github.io/vega-datasets/data/londonTubeLines.json","miserables.json":"https://vega.github.io/vega-datasets/data/miserables.json","monarchs.json":"https://vega.github.io/vega-datasets/data/monarchs.json","movies.json":"https://vega.github.io/vega-datasets/data/movies.json","normal-2d.json":"https://vega.github.io/vega-datasets/data/normal-2d.json","obesity.json":"https://vega.github.io/vega-datasets/data/obesity.json","points.json":"https://vega.github.io/vega-datasets/data/points.json","population.json":"https://vega.github.io/vega-datasets/data/population.json","udistrict.json":"https://vega.github.io/vega-datasets/data/udistrict.json","unemployment-across-industries.json":"https://vega.github.io/vega-datasets/data/unemployment-across-industries.json","uniform-2d.json":"https://vega.github.io/vega-datasets/data/uniform-2d.json","us-10m.json":"https://vega.github.io/vega-datasets/data/us-10m.json","us-state-capitals.json":"https://vega.github.io/vega-datasets/data/us-state-capitals.json","weather.json":"https://vega.github.io/vega-datasets/data/weather.json","weball26.json":"https://vega.github.io/vega-datasets/data/weball26.json","wheat.json":"https://vega.github.io/vega-datasets/data/wheat.json","world-110m.json":"https://vega.github.io/vega-datasets/data/world-110m.json","airports.csv":"https://vega.github.io/vega-datasets/data/airports.csv","co2-concentration.csv":"https://vega.github.io/vega-datasets/data/co2-concentration.csv","disasters.csv":"https://vega.github.io/vega-datasets/data/disasters.csv","flights-3m.csv":"https://vega.github.io/vega-datasets/data/flights-3m.csv","flights-airport.csv":"https://vega.github.io/vega-datasets/data/flights-airport.csv","gapminder-health-income.csv":"https://vega.github.io/vega-datasets/data/gapminder-health-income.csv","github.csv":"https://vega.github.io/vega-datasets/data/github.csv","iowa-electricity.csv":"https://vega.github.io/vega-datasets/data/iowa-electricity.csv","la-riots.csv":"https://vega.github.io/vega-datasets/data/la-riots.csv","lookup_groups.csv":"https://vega.github.io/vega-datasets/data/lookup_groups.csv","lookup_people.csv":"https://vega.github.io/vega-datasets/data/lookup_people.csv","population_engineers_hurricanes.csv":"https://vega.github.io/vega-datasets/data/population_engineers_hurricanes.csv","seattle-temps.csv":"https://vega.github.io/vega-datasets/data/seattle-temps.csv","seattle-weather.csv":"https://vega.github.io/vega-datasets/data/seattle-weather.csv","sf-temps.csv":"https://vega.github.io/vega-datasets/data/sf-temps.csv","sp500.csv":"https://vega.github.io/vega-datasets/data/sp500.csv","stocks.csv":"https://vega.github.io/vega-datasets/data/stocks.csv","us-employment.csv":"https://vega.github.io/vega-datasets/data/us-employment.csv","weather.csv":"https://vega.github.io/vega-datasets/data/weather.csv","windvectors.csv":"https://vega.github.io/vega-datasets/data/windvectors.csv","zipcodes.csv":"https://vega.github.io/vega-datasets/data/zipcodes.csv","unemployment.tsv":"https://vega.github.io/vega-datasets/data/unemployment.tsv","flights-200k.arrow":"https://vega.github.io/vega-datasets/data/flights-200k.arrow"},a={},s={},e=34,o=10,i=13;function n(t){return new Function("d","return {"+t.map((function(t,a){return JSON.stringify(t)+": d["+a+"]"})).join(",")+"}")}function g(t){var a=Object.create(null),s=[];return t.forEach((function(t){for(var e in t)e in a||s.push(a[e]=e)})),s}function d(t,a){var s=t+"",e=s.length;return e<a?new Array(a-e+1).join(0)+s:s}function r(t){var a,s=t.getUTCHours(),e=t.getUTCMinutes(),o=t.getUTCSeconds(),i=t.getUTCMilliseconds();return isNaN(t)?"Invalid Date":((a=t.getUTCFullYear())<0?"-"+d(-a,6):a>9999?"+"+d(a,6):d(a,4))+"-"+d(t.getUTCMonth()+1,2)+"-"+d(t.getUTCDate(),2)+(i?"T"+d(s,2)+":"+d(e,2)+":"+d(o,2)+"."+d(i,3)+"Z":o?"T"+d(s,2)+":"+d(e,2)+":"+d(o,2)+"Z":e||s?"T"+d(s,2)+":"+d(e,2)+"Z":"")}function v(t){var d=new RegExp('["'+t+"\n\r]"),v=t.charCodeAt(0);function u(t,n){var g,d=[],r=t.length,u=0,h=0,c=r<=0,p=!1;function l(){if(c)return s;if(p)return p=!1,a;var n,g,d=u;if(t.charCodeAt(d)===e){for(;u++<r&&t.charCodeAt(u)!==e||t.charCodeAt(++u)===e;);return(n=u)>=r?c=!0:(g=t.charCodeAt(u++))===o?p=!0:g===i&&(p=!0,t.charCodeAt(u)===o&&++u),t.slice(d+1,n-1).replace(/""/g,'"')}for(;u<r;){if((g=t.charCodeAt(n=u++))===o)p=!0;else if(g===i)p=!0,t.charCodeAt(u)===o&&++u;else if(g!==v)continue;return t.slice(d,n)}return c=!0,t.slice(d,r)}for(t.charCodeAt(r-1)===o&&--r,t.charCodeAt(r-1)===i&&--r;(g=l())!==s;){for(var j=[];g!==a&&g!==s;)j.push(g),g=l();n&&null==(j=n(j,h++))||d.push(j)}return d}function h(a,s){return a.map((function(a){return s.map((function(t){return p(a[t])})).join(t)}))}function c(a){return a.map(p).join(t)}function p(t){return null==t?"":t instanceof Date?r(t):d.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,a){var s,e,o=u(t,(function(t,o){if(s)return s(t,o-1);e=t,s=a?function(t,a){var s=n(t);return function(e,o){return a(s(e),o,t)}}(t,a):n(t)}));return o.columns=e||[],o},parseRows:u,format:function(a,s){return null==s&&(s=g(a)),[s.map(p).join(t)].concat(h(a,s)).join("\n")},formatBody:function(t,a){return null==a&&(a=g(t)),h(t,a).join("\n")},formatRows:function(t){return t.map(c).join("\n")}}}var u=v(",").parse;v("\t");function h(t){for(var a in t){var s,e=t[a].trim();if(e)if("true"===e)e=!0;else if("false"===e)e=!1;else if("NaN"===e)e=NaN;else if(isNaN(s=+e)){if(!/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/.test(e))continue;e=new Date(e)}else e=s;else e=null;t[a]=e}return t}var c=function(t,a,s,e){return new(s||(s=Promise))((function(o,i){function n(t){try{d(e.next(t))}catch(t){i(t)}}function g(t){try{d(e.throw(t))}catch(t){i(t)}}function d(t){var a;t.done?o(t.value):(a=t.value,a instanceof s?a:new s((function(t){t(a)}))).then(n,g)}d((e=e.apply(t,a||[])).next())}))};const p={};for(const a of Object.keys(t)){const s=t[a],e=function(){return c(this,void 0,void 0,(function*(){const t=yield fetch(s);return a.endsWith(".json")?yield t.json():a.endsWith(".csv")?u(yield t.text(),h):yield t.text()}))};e.url=s,p[a]=e}return p})); |
{ | ||
"name": "vega-datasets", | ||
"version": "1.25.0", | ||
"version": "1.26.0", | ||
"description": "Common repository for example datasets used by Vega related projects.", | ||
@@ -22,6 +22,6 @@ "main": "build/vega-datasets", | ||
"datalib": "^1.9.2", | ||
"rollup": "^1.10.0", | ||
"rollup-plugin-node-resolve": "^4.2.3", | ||
"terser": "^3.17.0", | ||
"typescript": "^3.4.3" | ||
"rollup": "^1.22.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"terser": "^4.3.4", | ||
"typescript": "^3.6.3" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
# Vega Datasets | ||
[![npm version](https://img.shields.io/npm/v/vega-datasets.svg)](https://www.npmjs.com/package/vega-datasets) | ||
[![Build Status](https://travis-ci.com/vega/vega-datasets.svg?branch=master)](https://travis-ci.com/vega/vega-datasets) [![Greenkeeper badge](https://badges.greenkeeper.io/vega/vega-datasets.svg)](https://greenkeeper.io/) | ||
[![Build Status](https://travis-ci.com/vega/vega-datasets.svg?branch=master)](https://travis-ci.com/vega/vega-datasets) | ||
@@ -10,3 +10,3 @@ Collection of datasets used in Vega and Vega-Lite examples. This data lives at https://github.com/vega/vega-datasets. | ||
The list of sources is in [sources.md](https://github.com/vega/vega-datasets/blob/gh-pages/sources.md). | ||
The list of sources is in [sources.md](https://github.com/vega/vega-datasets/blob/master/sources.md). | ||
@@ -69,2 +69,6 @@ To access the data in Observable, you can import `vega-dataset`. Try our [example notebook](https://beta.observablehq.com/@domoritz/vega-datasets). To access these datasets from Python, you can use the [Vega datasets python package](https://github.com/jakevdp/vega_datasets). To access them from Julia, you can use the [VegaDatasets.jl julia package](https://github.com/davidanthoff/VegaDatasets.jl). | ||
### Version 1.26 | ||
- Add `uniform-2d.json`. | ||
### Version 1.22 | ||
@@ -71,0 +75,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35143226
81
144434
167