home / cp40x

names

9 rows where case_id = 2318666

✎ 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
4873482 2318666 2318666 plaintiff (not given)   abbot of Peterborough Abbey   Peterborough Abbey, abbot of 0
4873483 2318666 2318666 defendant Body William husbandman 588421 588421 Body, William, of Croyland, Lincs, husbandman 0
4873484 2318666 2318666 defendant Coker William husbandman 588422 588422 Coker, William, of Croyland, husbandman 1
4873485 2318666 2318666 defendant Fouler William husbandman 588422 588422 Fouler, William, of Croyland, husbandman 2
4873486 2318666 2318666 defendant Maddy William husbandman 588422 588422 together with Maddy, William, of Croyland, husbandman 3
4873487 2318666 2318666 defendant Body John husbandman 588422 588422 Body, John, of Croyland, husbandman 4
4873488 2318666 2318666 defendant Wyseberd Nigel husbandman 588422 588422 Wyseberd, Nigel, of Croyland, husbandman 5
4873489 2318666 2318666 defendant Tebbe Richard husbandman 588422 588422 Tebbe, Richard, of Croyland, husbandman 6
4873490 2318666 2318666 defendant Wryght John, junior husbandman 588422 588422 Wryght, John, junior, of Croyland, husbandman 7

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.75ms