A vision of Britain through time
A vision of Britain between 1801 and 2001.
Including maps, statistical trends and historical descriptions.
select reg_cnty,subd_id,parid,occode,sex,hds_agegroup,count(whole1881.recid) as freq into hs1 from whole1881 group by reg_cnty,subd_id,parid,occode,sex,hds_agegroup order by reg_cnty,subd_id,parid,occode,sex,hds_agegroup
We are extremely grateful to the following:
| Index | Type | Column(s) indexed |
|---|---|---|
| occ_1881_no_age_pk | Primary key | subd_id, par_id, occ_code, sex |
The table has the following associated constraints:
| Constraint | Type | Details |
|---|---|---|
| occ_1881_no_age_pk | Primary Key | See details above for primary key index |
| occ_1881_no_age_fk_occ_code | Foreign Key | Column(s) {4} link to table occ_1881_occ_codes, column(s) {1}. |
| occ_1881_no_age_fk_places | Foreign Key | Column(s) {2,3} link to table occ_1881_places, column(s) {2,3}. |
| occ_1881_no_age_fk_regc | Foreign Key | Column(s) {1} link to table occ_1881_regc_codes, column(s) {1}. |
| occ_1881_no_age_ck_sex | Check | ((((sex)::text = 'M'::text) OR ((sex)::text = 'F'::text)) OR ((sex)::text = 'U'::text)) |
| Column | Type | Contents | regc_code | Text string (max.len.=7). | A three-letter abbreviation for the name of the Registration County, as defined in 'occ_1881_regc_codes'. | subd_id | Integer number. | Combined Registration District and sub-District ID. | par_id | Integer number. | Number identifying each parish. | occ_code | Integer number. | Code number identifing the occupational category. These run from 1 to 414, with 999 indicating missing values. | sex | Text string (max.len.=5). | Gender: 'M' = Male, 'F' = Female, 'U' = Unknown. | freq | Integer number. | Number of persons in this category. | seq_num | Integer number. | Sequence number added on loading to uniquely identify rows. |
|---|