Hi professionals,
When I am writing Cypher, I encountered such a complicated data structure:
What I want is to get 58.0 when I ask for "enrollmentMale", and get 42.0 when I ask for "enrollmentFemale".
Normally, the key-value pair should be {"enrollmentMale": 58.0, "enrollmentFemale": 42.0}. However, the json file makes it a problem for me by putting both the key and the value in the map "values". How could I get the value for enrollmentMale/enrollmentFemale?
I tried to unwind the list, and for each node, I could get two maps. How could I determine the value based on the other value in the map?
Thank you so much for your help!