I have never worked with json files before so sorry in advance if my language/explanation is difficult to understand. First time posting so big apologies if this is in the wrong format too!
I'm trying to convert a json file in R, so far I can upload the file into a list using:
jdata <- RJSONIO::fromJSON("./data.json")
The original raw file looks like:
[
{
"name": "11 bit studios",
"website": "https://11bitstudios.com/",
"headquarters": "Warsaw, ",
"industry": [
"Software",
"Gaming"
],
"side": "",
"actions": {
"support": [{
"country": "",
"measures": [
"All profits from \"This War of Mine\" for seven days after announcement went go to special fund which was donated to Ukrainian Red Cross. In summary, $850,000 were raised"
]
}]
},
"links": [
"https://twitter.com/11bitstudios/status/1496904408344449027",
"https://twitter.com/11bitstudios/status/1499736525357129730"
]
And the list looks like:
What I'm trying to do is get a df that has the following headings:
$name $website $headquarters $industry $actions $country $measures
I hope that makes sense!
--edit for example-- See picture: example df