1$(function(){var t,r,u,i,n;if($("#atlas").length>0&&($("a.embed.button").hide(),t=$("a.export.button"),t.length>0)){r=$("<a>",{"class":"export-sdmx button",href:"",target:"_blank",rel:"nofollow",text:$.R("~/theme/js/header.js","Export to SDMX")});i=$("<i>",{"class":"fa fa-arrow-circle-down","aria-hidden":"true"});r.prepend(i);r.insertAfter(t);u=$("<a>",{"class":"export-json button",href:"",target:"_blank",rel:"nofollow",text:$.R("~/theme/js/header.js","Export to JSON")});i=$("<i>",{"class":"fa fa-arrow-circle-down","aria-hidden":"true"});u.prepend(i);u.insertAfter(t);n=$("#data-descriptor").val()||$(".pivot-descriptor.map").val()||$("#ranking-descriptor").val();n=JSON.parse(n);f(n);e(n);function f(n){for(var t="/api/1.0/data/"+n.Dataset+"/",i=0;i<n.Stub.length;i++){var r=n.Stub[i],u=r.DimensionId,f=r.Members[0];t=t+(i>0?"&":"?")+u+"="+f}t=t+"&frequencies="+n.Frequencies[0];$("#buttons-container .export-json").attr("href",t)}function e(n){$.ajax({type:"post",url:Knoema.Utils.apiUrl("/api/1.0/sdmx/url?dsid="+n.Dataset),data:{descriptor:JSON.stringify(n)},success:function(n){$("#buttons-container .export-sdmx").attr("href",n)}})}}})
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.