home / cp40x

names

8 rows where case_id = 2295484

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4797787 2295484 2295484 plaintiff (not given)   abbot of St Mary Abbey, York   St Mary Abbey, York, abbot of 0
4797788 2295484 2295484 defendant Banes William yeoman 803626 803626 Banes, William, of Teleneshede, yeoman 0
4797789 2295484 2295484 defendant Holme William walker 803627 803627 Holme, William, of Castirton, walker 1
4797790 2295484 2295484 defendant Candour Roger walker 767417 767417 Candour, Roger, of Kirkeby Lonesdale, walker 2
4797791 2295484 2295484 defendant Ledebeter Mathew   767417 767417 Ledebeter, Mathew, of Kirkeby Lonesdale, lead beater 3
4797792 2295484 2295484 defendant Cleveland Nicholas husbandman 755686 755686 Cleveland, Nicholas, of Kesthwayt, husbandman 4
4797793 2295484 2295484 defendant Whitwell William husbandman 649773 649773 Whitwell, William, of Lupton, husbandman 5
4797794 2295484 2295484 defendant Banes William yeoman 803629 803629 Banes, William, of Whityngton, Lancs, yeoman 6

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 13.973ms