home / cp40x

names

8 rows where case_id = 2249436

✎ 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
4661524 2249436 2249436 plaintiff Elton John     Elton, John 0
4661525 2249436 2249436 defendant Lemyng William shipman 586067 586067 Lemyng, William, of York, shipman 0
4661526 2249436 2249436 defendant Doncastre of York yeoman   Doncastre, of York, yeoman 1
4661527 2249436 2249436 defendant Barker Robert chaplain 586067 586067 Barker, Robert, of York, chaplain 2
4661528 2249436 2249436 defendant Pepur William husbandman 770780 770780 Pepur, William, of Usflete, husbandman 3
4661529 2249436 2249436 defendant Leventon Robert husbandman   Leventon, Robert, husbandman 4
4661530 2249436 2249436 defendant Jonson John husbandman 759511 759511 Jonson, John, of Saltemerssh, husbandman 5
4661531 2249436 2249436 defendant Baylly John husbandman 602199 602199 Baylly, John, of Whitgift, husbandman 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.565ms