Dec-05-2019, 09:10 AM
Hello everyone!
I have a a large collection of json-files (a few thousand) each containing metadata about a text post, such as the post-ID, the username (and full name, if made public by the user), timestamp and so on. I would like to extract this information from each file without having to do so manually, but am myself not yet familiar enough with Python to figure out how I can do this (I have only been able to follow one course so far, and unfortunately it isn't useful in this case - it was just on basic calculations i Python).
Another problem I have is that some of the files will contain several sets of different data with the same name when someone commented on the post. However, I only need this information about the main post (thus the first time this information appears in the file).
Does anyone have any idea how I might be able to extract this information?
Thank you so much in advance!
Kind regards
I have a a large collection of json-files (a few thousand) each containing metadata about a text post, such as the post-ID, the username (and full name, if made public by the user), timestamp and so on. I would like to extract this information from each file without having to do so manually, but am myself not yet familiar enough with Python to figure out how I can do this (I have only been able to follow one course so far, and unfortunately it isn't useful in this case - it was just on basic calculations i Python).
Another problem I have is that some of the files will contain several sets of different data with the same name when someone commented on the post. However, I only need this information about the main post (thus the first time this information appears in the file).
Does anyone have any idea how I might be able to extract this information?
Thank you so much in advance!
Kind regards