Skip to content

Create a GEDCOM file with data from Geneaology ON DISPLAY CSV file

Notifications You must be signed in to change notification settings

kaderud/CSV2GEDCOM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

CSV2GEDCOM

Create a GEDCOM file with data from Geneaology ON DISPLAY CSV file

This project is based upon xlsToGedcom by Ferenc Bodon

The purpose of this project is to convert the LISTPER output (PRINTPER.csv file) from Geneaology ON DISPLAY into a GEDCOM file.

CSV Format

The program CSV2GEDCOM expects the CSV file adhere to the following header names (on one line, from left to right):

ID
Surname
Given Names
Sex
Father ID
Father Name
Mother ID
Mother Name
Birth Date
Birth City
Birth County
Birth State
Death Date
Death City
Death County
Death State
Burial Date
Burial City
Burial County
Burial State

Configuration & Usage

Some small changes are needed before running the conversion program, edit CsvParser2Gedcom.py and make the following changes:

Edit the HEADER string and change DEST, LANG, SUBM1 to reflect your destination program. The SUBM1 is the Submitter person of the file to the destination geneaology program. The convertDate(datum) function translates some Swedish month names to English, if the CSV file contains non-english month names, add them to this function.

Usage:

In the tools directory, the program FormatCSV.py (shell-script FormatPersons.sh) is used to clean up the CSV-file PRINTPER.csv by removing leading and trailing whitespace and DOS's Ctrl-Z (EOF) marker.

ck@ws:~$ ./CSV2GEDCOM.sh persons.csv

or:

ck@ws:~$ python CSV2GEDCOM.py persons.csv > myfamily.ged

About

Create a GEDCOM file with data from Geneaology ON DISPLAY CSV file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published