Javascript language
Javascript as a data language
Most people know JavaScript from web development, where ts is used to automate web pages and drive interactive apps. JavaScripts is a very elegant and expressive language, developers coming from other languages are often surpirsed at how little code it takes to get things done.
Google developed the V8 JavaScript engine that is used in XLConnect and did a number of optimizations to it that also makes JS extremely fast.
Most data you will receive from API's these days is JSON (JavaScript Object Notation). JS is a very natural langauge to work with with such data because JSON literally is JavaScript, the name kind of gives it away. JSON is how you write down data in JS, when you execute a string of JSON data in JS it becomes in-memory data you can work with.
On top of that JS has some very nice features for data manipulation that will prove very help in transforming the format you get from the api to the format you want in your Workbook, making mulitple calls to an API for mulitple periods, organisations, pages of data etc.
JS also allows you to write functions and modules. This allows you to write certain functions once and reuse them in mutliple workbooks. This allows you to raise the level of abstraction very quickly, to write code in business terms, where these functions and modules execute that against the API's and Data Lake.
So, to recap, JavaScript is elegant, expressive, perfect for JSON and blazing fast. Let's dive in.
Last updated