Before asking for help please read "Requesting Help and Suggestions" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Census assistant for 1921 Census for England and Wales 2 weeks 3 days ago #1

  • CCT
  • CCT's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 78
Has anybody started on the files needed for the 1921 census assistant?

I see there is more and expanded information available than in the previous 1911 census
Chris at genes.tronsmit.com

Please Log in or Create an account to join the conversation.

Census assistant for 1921 Census for England and Wales 2 weeks 3 days ago #2

I would also be interested in this.

Is this something that we can do ourselves or does it have to be coded? Is there a guide to doing it?
(These settings may be out of date!)
-- MySQL Server version: 10.3.18-MariaDB
-- PHP Version: 7.3
-- webtrees 2.0
-- Chrome 78

Please Log in or Create an account to join the conversation.

Census assistant for 1921 Census for England and Wales 2 weeks 3 days ago #3

I just saw this thread:

www.webtrees.net/index.php/en/forum/help...nsus-assistant#87519

I may take a look at doing this
(These settings may be out of date!)
-- MySQL Server version: 10.3.18-MariaDB
-- PHP Version: 7.3
-- webtrees 2.0
-- Chrome 78

Please Log in or Create an account to join the conversation.

Census assistant for 1921 Census for England and Wales 2 weeks 2 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 15173
For each census (England, Wales, Scotland...), you need to create two files.

One defines the census. The other is a test.

They are both pretty simple.

github.com/fisharebest/webtrees/blob/mai...susOfEngland1911.php

github.com/fisharebest/webtrees/blob/mai...fEngland1911Test.php

If you can create these, I can add them.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Census assistant for 1921 Census for England and Wales 2 weeks 2 days ago #5

@fisharebest I have created them but not sure how to get them to you. I also updated the CensusOfEngland.php and corresponding test to include this new census. I have cloned the git project but cannot push to main (for obvious reasons). How do you normally proceed with this type of submission?
(These settings may be out of date!)
-- MySQL Server version: 10.3.18-MariaDB
-- PHP Version: 7.3
-- webtrees 2.0
-- Chrome 78

Please Log in or Create an account to join the conversation.

Last edit: by zeidbop.

Census assistant for 1921 Census for England and Wales 2 weeks 2 days ago #6

I have a couple of thoughts about the implementation. I would have liked to have created two new classes to cover, what I think are features in this census (although I may be wrong and you have just chosen not to implement that functionality)

1. The age is split up into years and months. It would have been good to add a month class to calculate how many months into their whole year the person was.
2. There are a lot of boxes at the end of the census row which are essentially check boxes. Not sure if that could be implemented better. I simply used the CensusColumnNull. It may also be possible to create a class that calculates which of the check boxes should be selected. In case you have not seen the census, there are 16 boxes. You need to put a cross in the box if the resident has a child corresponding to the age on the box. (Not sure how you were supposed to do if you had twins or triplets). The total number of crosses should correspond to the total number of children in the previous box.
(These settings may be out of date!)
-- MySQL Server version: 10.3.18-MariaDB
-- PHP Version: 7.3
-- webtrees 2.0
-- Chrome 78

Please Log in or Create an account to join the conversation.

Census assistant for 1921 Census for England and Wales 2 weeks 2 days ago #7

  • CCT
  • CCT's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 78
Thanks for getting this implemented so quickly.

I was wondering the same things - here are my thoughts - copy of columns attached:

column (c) age | month
this could be recorded as 24y 5m (in a single column), or as you suggest two columns

column (o) last birthday of (any) children under 16
It seems wasteful to record all the posibilities as columns, so I thought of just writing the digits down where the crosses were, as in: 3,7
I would suggest that if there were twins there might be two crosses and then I would write: 3,3,7
Chris at genes.tronsmit.com
Attachments:

Please Log in or Create an account to join the conversation.

Last edit: by CCT.

Census assistant for 1921 Census for England and Wales 2 weeks 2 days ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 15173
> It would have been good to add a month class to calculate how many months into their whole year the person was.

Yes - we will need a new column-type for this.

I haven't yet looked at the 1921 census, so I didn't know what columns were used.

> this could be recorded as 24y 5m (in a single column)

If that is how the data is typically written on the census form, then that is the format we should use.

Until I have seen a few examples, I won't know.

> It seems wasteful to record all the posibilities as columns, so I thought of just writing the digits down where the crosses were, as in: 3,7

I think we should try to keep as close as possible to the original data.
Perhaps something like
"-X----X---X-"

For multiple children with the same age, perhaps
"-[XX]--------"

As above, this will need a new column definition.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Last edit: by fisharebest.
Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Census assistant for 1921 Census for England and Wales 2 weeks 2 days ago #9

  • CCT
  • CCT's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 78
>I haven't yet looked at the 1921 census, so I didn't know what columns were used.
I attached an image of the headers (no data) in my previous post

>> this could be recorded as 24y 5m (in a single column)
>If that is how the data is typically written on the census form, then that is the format we should use.
No, the data for the age column, splits into two columns. One for year and the other for month - just the numeric digits. Special instructions for age less than a month: "Under one month"

>I think we should try to keep as close as possible to the original data.
>Perhaps something like
"-X----X---X-"

I agree on the principle to keep it close to the original data. The suggestion seems prone to errors - both in writing it down as well as reading it again. Then perhaps a 16 column table is needed
Chris at genes.tronsmit.com

Please Log in or Create an account to join the conversation.

Census assistant for 1921 Census for England and Wales 2 weeks 2 days ago #10

@fisharebest do you want me to send you the files that I put together? I understand that they may not be that useful to you if you are going to add a new column class, do the children differently etc. I can also send through the two census records that I bought so that you can see the format (although I am sure if you go onto FindMyPast.co.uk they have some samples there too)

Let me know. Happy to help either way.
(These settings may be out of date!)
-- MySQL Server version: 10.3.18-MariaDB
-- PHP Version: 7.3
-- webtrees 2.0
-- Chrome 78

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum