home / cp40x

names

8 rows where case_id = 2295473

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4797737 2295473 2295473 plaintiff (not given)   abbot of St Mary Abbey, York   St Mary Abbey, York, abbot of 0
4797738 2295473 2295473 defendant Danes William yeoman 803626 803626 Danes, William, of Teleneshede, yeoman 0
4797739 2295473 2295473 defendant Holme William walker 803627 803627 Holme, William, of Castirton, walker 1
4797740 2295473 2295473 defendant Condour Roger walker 767417 767417 Condour, Roger, of Kirkeby Lonesdale, walker 2
4797741 2295473 2295473 defendant Ledebeter Mathew   767417 767417 Ledebeter, Mathew, of Kirkeby Lonesdale, lead beater 3
4797742 2295473 2295473 defendant Cleveland Nicholas husbandman 755686 755686 Cleveland, Nicholas, of Kesthwayt, husbandman 4
4797743 2295473 2295473 defendant Whitwell William husbandman 649773 649773 Whitwell, William, of Lupton, husbandman 5
4797744 2295473 2295473 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 11.147ms