Hello,
I have a JSON file that looks like this
[
{
"caption": "@brambleenergy's Software Team brings our fuel cell systems to life through software solutions and advanced control techniques.\n\nIf you are in your penultimate year of study and want to gain hands-on experience with a paid internship, get in touch -
careers@brambleenergy.com\n\nFind out more about joining the Software Team -
https://www.brambleenergy.com/internships\n\n#internship #internshipprogram #technology #software #development #systems #products #algorithms #innovation #brambleenergy #getintouch",
"hashtags": ["internship", "internshipprogram", "technology", "software", "development", "systems", "products", "algorithms", "innovation", "brambleenergy", "getintouch"],
"mentions": ["brambleenergy's", "brambleenergy.com"],
},
{
"caption": "In a hurry? Get a quick overview of our full-year results here.\nTo get further information, and watch today’s presentation, you can visit the Financial Results Centre by clicking the link in our bio.",
"hashtags": [],
"mentions": [],
},
...
]
Each post can have several mentions and several hashtags. When importing into analytics, analytics automatically extracts these mentions and hashtags so that each individual string in the array is a new column. This looks like the attached file.
However this is not what I want. I want analytics to store the data just like the JSON file does.
Is there a way to get analytics to store this data in such a way so that each string is treated separate whilst remaining in the same cell?
I have tried the concat_ws function to put the strings from the separate columns back together, however, analytics treats the cell as one string, not individual strings separated by the specified separator ','.
The reason I would like the data stored this way is so I can use COUNT functions calculate how many there are of each hashtags and mentions. And to be able to use the filter features to filter posts by the hashtags and mentions they contain.
If there is any other information you need, please let me know. Thank you for your help in advance.