home / cp40x

names

8 rows where case_id = 2230152

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4596519 2230152 2230152 plaintiff Ryder William     Ryder, William 0
4596520 2230152 2230152 defendant Ilberd John   600360 600360 Ilberd, John, of Shirbourn 0
4596521 2230152 2230152 defendant Straunge John     Straunge, John 1
4596522 2230152 2230152 defendant Straunge Christine     Christine, his wife 2
4596523 2230152 2230152 defendant Knyght John pardoner   Knyght, John, pardoner 3
4596524 2230152 2230152 defendant Baylly John, sen   773082 773082 Baylly, John, sen, of Trill 4
4596525 2230152 2230152 defendant Lacy John     Lacy, John 5
4596526 2230152 2230152 defendant Blakemour Thomas     Blakemour, Thomas 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 16.371ms