home / cp40x

names

9 rows where case_id = 2005490

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3945455 2005490 2005490 plaintiff Bowyer Andrew gent   Bowyer, Andrew, gent 0
3945456 2005490 2005490 defendant Mathewe Tristram gent 610528 610528 Mathewe, Tristram, of Downton, Wilts, gent 0
3945457 2005490 2005490 defendant Harryson Clement gent 585869 585869 Harryson, Clement, of London, gent 1
3945458 2005490 2005490 defendant Morgan Thomas gent 657718 657718 Morgan, Thomas, of Ladaphe, Glamorgan, gent 2
3945459 2005490 2005490 defendant Mounselowe Thomas gent 585869 585869 Mounselowe, Thomas, of London, gent 3
3945460 2005490 2005490 defendant Moreton Richard gent 585869 585869 Moreton, Richard, of London, gent 4
3945461 2005490 2005490 defendant Baylye Henry gent 586848 586848 Baylye, Henry, of Northampton, gent 5
3945462 2005490 2005490 defendant Cawdrey Thomas gent 586606 586606 Cawdrey, Thomas, of Chester, gent 6
3945463 2005490 2005490 defendant Chichester Thomas gent 657719 657719 Chichester, Thomas, of Hall, Devon, gent 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 13.506ms