Export or list time spend in a zone

Hi there.

In homeassistant its possible to track my location (zone entering/leaving).
Awesome, i use it from day 1 with initially the iphone update location issues that have been solved now.

Now i have a question regarging that feature. Take it to the next step.
I was wondering if it is possible to export this data (CSV) so i can make lists that shows time i spend in a specific zone.

At this moment I write every zone enter and leave on paper now for work.
It is really cool to use the data HA has now.

If this is possibe then i would really like to know. Or better,
can you help me where to start looking?

I’m on advanced level: php, java and javascript.
So a export in whatever format is no problem for me.

Thanks, Wazzie