REQUEST Request, Bureau van Dijk countries to parse the data
by coolworker378 - Thursday February 8, 2024 at 05:27 AM
#1
The database is huge and in JSON format. So far I've only got 33,000 analytical data for the US and 11,000 for Australia. I don't think these are complete figures, I want parsing data for each country
Reply
#2
why not simply split it on country ? do a python script with matching on country and write in a different file for each country, ask any good and free AI bot if you are new, give him a sample with 3-4 line of your original file and run it on your hardware, it's not that hard
Reply
#3
(Feb 12, 2024, 03:56 PM)ygrek Wrote: why not simply split it on country ? do a python script with matching on country and write in a different file for each country, ask any good and free AI bot if you are new, give him a sample with 3-4 line of your original file and run it on your hardware, it's not that hard

even for a 400+gb file?
Reply
#4
(Feb 13, 2024, 01:55 PM)shuiyazi Wrote:
(Feb 12, 2024, 03:56 PM)ygrek Wrote: why not simply split it on country ? do a python script with matching on country and write in a different file for each country, ask any good and free AI bot if you are new, give him a sample with 3-4 line of your original file and run it on your hardware, it's not that hard

even for a 400+gb file?

Even for terabytes-big files, all you'll need is timeSmile Just run 1gb sample first, and count time to estimate it on big file processing
Reply
#5
for files larger than the ram you have you have to work by "streaming" with a reader, that way you load in memory only the lines you are working with, also do some multihread work to speed it up, or with premises, you also have to keep in a variable the "last line" treated, for some big files it can take a week of 100% of all the cores. You can also simply fragment the files and then work on them, you can firstly do a loop to split the big file to 4gb file each and then work on each file, this way you can interupt and suffer less loss in case of power issue or needing you computing power for something else. those are all tips of how to handle that kind of situation and is relatif to global knowledge on how to handle very big files
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Question: Breached base in 2023. dai5 1 160 4 hours ago
Last Post: Barouz
  Dead links / Looking for backup – [FR] FRANCE LA FRANCE INSOUMISE organwarner 6 411 11 hours ago
Last Post: melissaXMR
  LASUITE BREACH RECYCLED THE DATA LEAK OF ANTS ? exclode 0 170 Yesterday, 09:40 PM
Last Post: exclode
  ROBLOX RDC 2017-2020 capital-gains 3 5,644 May 12, 2026, 07:55 PM
Last Post: bosscold
  Roblox RDC 2017-2020 Breach wishmemell 4 3,759 May 12, 2026, 07:54 PM
Last Post: bosscold

Forum Jump:


 Users browsing this forum: 1 Guest(s)