ETL

in #ita3 months ago

export function transform(old: {[key: string]: string[]}) {

let expected: {[key: string]: number} = {};

for(const [keys, values] of Object.entries(old)){

for(const elm of values){

  expected[elm.toLowerCase()] = Number(keys);

}

}

return expected;

}

Sort:  

BEERHey @drago18121996, here is a little bit of from @isnochys for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.


BEERHey @drago18121996, here is a little bit of from @isnochys for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.


BEERHey @drago18121996, here is a little bit of from @isnochys for you. Enjoy it!

Learn how to earn FREE BEER each day by staking your BEER.

Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment STOP below

Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment STOP below

Thank you for your witness vote!
Have a !BEER on me!
To Opt-Out of my witness beer program just comment STOP below