Places Text Report - adding column to report

Hi,
I’m using Win. AIO64-5.1.6-1.
When selecting a cemetery, all events are produced for the individuals regardless of their role. It is expected to have the date of the primary person, but if a deceased person also plays another role in an earlier event, such as witness also normally appears.
My question: Is it possible to have an additional column in the report displaying the role of the person in those events?
The output columns would then be : Person, Type of Event, Description, Date, Role.
I was unable to find any specificallyrelated topics or hacks
Many thanks.

Since the Subject of the thread is offscreen more often than not, adding the Report name and screenshot for reference:

Reports → Text Reports → Place Report…

Source code: gramps/plugins/textreport/placereport.py

The table diplay hack would require inserting a column with header & value in the section between lines 234 and 253

But the Role data collation is the more complex part of the task. And you’d probably want a “Primary”/“Family” Role filter option too.

1 Like