home / cp40x

names

9 rows where case_id = 2199602

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4496566 2199602 2199602 plaintiff Crescy George goldsmith 585869 585869 Crescy, George, of London, goldsmith 0
4496567 2199602 2199602 defendant Burcestre William knight   Burcestre, William, knight 0
4496568 2199602 2199602 defendant Bevrley John clerk & servant to Lord le Spencer   Bevrley, John, clerk & servant to Lord le Spencer 1
4496569 2199602 2199602 defendant Abbotisbury John     Abbotisbury, John 2
4496570 2199602 2199602 defendant Warderobe Michael of the Wardrobe for Lord le Spencer     Warderobe, Michael of the Wardrobe for Lord le Spencer 3
4496571 2199602 2199602 defendant Maynston Philip esq   Maynston, Philip, esq 4
4496572 2199602 2199602 defendant Badby John, junior     Badby, John, junior 5
4496573 2199602 2199602 defendant Cheyne Roger   633390 633390 Cheyne, Roger, of Shropshire 6
4496574 2199602 2199602 defendant Aston Thomas     Aston, Thomas 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 17.16ms