Changes

Jump to: navigation, search

Census Addons

1,262 bytes added, 22:42, 28 June 2022
no edit summary
{{Third-party plugin}}{{man warn|No longer supported|2=The Census Addons have been replaced in Gramps 4.2.X by the [[CategoryAddon:Plugins]][[Category:Developers/General]][[Category:Reports]][[Category:GrampletsForms_Gramplet|Forms Gramplet addon]]}}
There are two census addons: a gramplet and a report.
Before using the census addons you need to define which of your sources are census sources.
To do this you need to edit each source and add an entry in the Data Attributes tab. The entry must have a key of "Census" and a value which is a code that identifies the census.  Prior to v4.1, use the Data tab. After typing the value code you must press "Enter" before clicking "OK", or the value will not be saved. {{man tip| Translated Gramps |2=If you are using a Gramps in other language than english, type the value key in translated form. E.g. in finnish "Väestönlaskenta".}}
[[Image:SourceForCensus.png]]
A full list of codes is available. See: [[Census Definitions]]
=== Writing your own defintions definitions ===
If a census you require is not in the list of supported definitions then you can write your own.
<?xml version="1.0" encoding="UTF-8" ?>
<censuses>
 
'''Note:''' Make sure that your definition file is saved using UTF-8 encoding.
The censuses element contains a number of census elements, each representing a census definition. The census start-tag contains 3 attributes:
Data can also be edited using the usual Gramps editors.
==Editing stored census return==
Add Census Gramplet to Person Category. Search a person with Event reference to the stored census return you wish to edit. Clicking the stored census return opens Census Editor. In case no person is yet recorded in Census return's Details tab, go to Person Category, link an existing person or a new person to to the stored census return. Continue with opening the stored census return in Census Gramplet.
==Example of using the Census Addon==
This is an example of how to get started with the Census Addon after it is installed as described above. The 1941 1841 UK census is used as the example:
# Start or open a family tree in Gramps.
# Add a person (name and gender) if this is a new family tree.
# Go to the Source view.
# Add a source with a title like "Source for 1841 Census"
# Add a Census key (v4.1):## Open that source and go to the "Attributes" tab.## Click on the plus symbol to add a key and value.## Fill in the Attribute field with "Census".## Fill in the Value field and with "UK1841". It is important here to not have a space in the Value. Use "UK1841", not "UK 1841".## Click on OK.# Add a Census key (Prior to v4.1):## Open that source and go to the "Data" tab.## Click on the plus symbol to add a key and value.## Fill in in the key column with "Census" and hit enter.## Click on Value column and fill in "UK1841", hit enter. It is important here to not have a space in the Value. Use "UK1841", not "UK 1841".## Click on OK.## Reopen the Source to see if the key and value pair have been successfully stored in the "Data" tab (optional).
# Go to the People view and switch on the sidebar (View->sidebar).
# Add the "Census Gramplet" by rightclicking on the side bar and choosing "Add Gramplet->Census Gramplet".
# The New Census" gramplet form should open and you can click on the arrow down bútton to the right of "Source". You should see the "Source for 1841 Census". Select this.
# Now you can enter all of the details from the census (e.g. Reference to the page and the address), and then add people in the normal Gramps way.
# Fill in the details from the census page against each person.  
==Known Issues==
* Split the Source Reference Page/Volume field into its component parts. (e.g. Ref., Piece, Folio, Page)
* Add the current person when creating a new census.
* Improve data entry into the table cells. Automatically edit the next cell when "Enter" is pressed.
* Add check-boxes to automatically add the census source to selected Gramps records.
* Ensure that attributes are kept in the correct order in the Gramps editor.
==External Links and resources==
* [[Census|Census ]] page on Gramps wiki]]* [[File:CanadianCensus.gramps.gz|Census source definitions for available Canadian Censuses]]- Download file
* [[Events_manager#Census_Addon|Sample of use]]
* [http://www.chradams.co.uk/censusxml/howitworks.php Census XML project]
* [http://www.nappdata.org/napp/index.shtml North Atlantic Population Project]
 
[[Category:Plugins]]
[[Category:Developers/General]]
[[Category:Reports]]
[[Category:Gramplets]]
1,965
edits

Navigation menu