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
  Request for South Korea databases. AmazonsGoat 1 276 8 hours ago
Last Post: minituktuk
  REQUEST South Africa JD Group database phas3lock 2 150 Yesterday, 07:30 PM
Last Post: phas3lock
  I search admin page of 5 web sites selluk 4 223 Yesterday, 03:33 PM
Last Post: selluk
  ANY SPAIN MOBILE DATABASE? IBERIA AIRLINES? darkbigfoot 3 184 Yesterday, 12:58 PM
Last Post: Theblueanonymouse
  REQUEST Full NationalPublicData with SSNs Instinct 6 763 May 05, 2026, 09:04 PM
Last Post: Rollinbk60

Forum Jump:


 Users browsing this forum: 1 Guest(s)