home / cp40x

names

7 rows where case_id = 2016748

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3977633 2016748 2016748 plaintiff Lovett Lawrence, senior     Lovett, Lawrence, senior 0
3977634 2016748 2016748 defendant Stanton Edmund yeoman 665602 665602 Stanton, Edmund, of Brykhyll Magna, Bucks, yeoman 0
3977635 2016748 2016748 defendant Staunton John yeoman 665603 665603 Staunton, John, of Brykhyll Magna, yeoman 1
3977636 2016748 2016748 defendant Staunton William yeoman 626165 626165 Staunton, William, of Stoke Hamond, Bucks, yeoman 2
3977637 2016748 2016748 defendant Fyndlowe Richard tiler 665604 665604 Fyndlowe, Richard, of Parva Pryckhyll, Bucks, tiler 3
3977638 2016748 2016748 defendant Busshe Thomas laborer 665605 665605 Busshe, Thomas, of Bryckhyll Magna, laborer 4
3977639 2016748 2016748 defendant Bowde Robert laborer 665606 665606 Bowde, Robert, of Stoke Hanond, Bucks, laborer 5

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