Re: Advice on making a table

Nick Hall via Gramps-users <[email protected]>
Newsgroups gmane.comp.genealogy.gramps.user
Message-ID <[email protected]>
On 24/01/2022 22:57, John Sibert wrote:
> I would like to build special tables in which the columns are People 
> and the rows are Dates. Each cell would contain the details of events, 
> ie Type, Description, Age and Place, where available. The purpose of 
> such a table is to track the movements of seceral people through their 
> lifetime to see how and when they interact to form a family, and in 
> some case, to dismantle a family.
>
> I have done this manually for selected People, but it is tedious and 
> prone to errors. Realistically, It should be automated, because it 
> would be necessary to rebuild a table multiple times until it comes 
> right. I suppose the output could be a Text Report, a file that could 
> be imported into a spreadsheet (although I tend to eschew spreadsheets 
> if I can), or both.
>
> So, my question is whether there is a way do accomplish this using 
> Gramps? I'm not shy about programming and  know a bit of python and C++.
>
> Any advice would be gratefully received.

The best approach would probably be to write a report.

Have a look at the Complete Individual report as an example:

https://github.com/gramps-project/gramps/blob/master/gramps/plugins/textreport/indivcomplete.py

You can write your own reports.  See:

https://gramps-project.org/wiki/index.php/Addons_development

Let us know if you need any help.


Nick.




-- 
Gramps-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.