home / cp40x

names

8 rows where place_id = 770665

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4570065 2222210 2222210 defendant Hardfyssh William   770665 770665 Hardfyssh, William, of Kesby 0
4673814 2257433 2257433 defendant Morton John husbandman 770665 770665 Morton, John, of Kesby, husbandman 1
4702797 2266274 2266274 defendant Warde Richard weaver 770665 770665 Warde, Richard, of Kesby, weaver 2
4804823 2297710 2297710 plaintiff Aston John   770665 770665 Aston, John, of Kesby 1
5104707 2387813 2387813 defendant Couper John husbandman 770665 770665 Couper, John, of Kesby, husbandman 2
5540855 2517270 2517270 defendant Bell Michael laborer 770665 770665 Bell, Michael, of Kesby, laborer 11
5540856 2517270 2517270 defendant Turnour John turner 770665 770665 Turnour, John, of Kesby, turner 12
5540857 2517270 2517270 defendant Mychell Thomas yeoman 770665 770665 Mychell, Thomas, of Kesby, yeoman 13

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 15.24ms