Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm trying to join 1.2kk .json files (i know) into a table.
I downloaded the files from an open API for zip codes and I'm planning to use this to validate a file with +- 1kk rows. I could and will use the API to validate future customer registrations, but I need to validate past data and I can't make 1.2kk calls or I'll get blocked.
Given that, I found some stuff about joining .json files from Google Drive, that way Qlik can read the files using (json);. It does work and I managed to loop through each file in the folder, but it takes too long. By my calculations it'd take 29 days to complete, it's just madness.
I'm pretty sure there must be a smarter way to do this. Can anyone advise me?
ZipCodes:
LOAD * Inline [a, b, c, d, e]
];
For Each file in FileList('lib://PP:Google Drive/[...]')
If WildMatch('$(file)', '*.json') Then
Concatenate ZipCodes
LOAD
*
From [$(file)] (json);
End If
Next file
After some research I managed to do it using python by joining the json files and saving it as csv. If you're having the same problem I advise you to do the same:
After some research I managed to do it using python by joining the json files and saving it as csv. If you're having the same problem I advise you to do the same: