home / cp40x

names

8 rows where case_id = 2455648

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5335371 2455648 2455648 plaintiff George John (legal representative) 585925 585925 George, John, of Bristol, merchant, executors of 0
5335372 2455648 2455648 plaintiff George William     (George, William 1
5335373 2455648 2455648 plaintiff Swayn William     Swayn, William 2
5335374 2455648 2455648 defendant Tyler Richard yeoman 861646 861646 Tyler, Richard, of Lymster, Worcs, yeoman 0
5335375 2455648 2455648 defendant Parys John clothier 874730 874730 Parys, John, of Shirborne, Soms, clothier 1
5335376 2455648 2455648 defendant Peysey John clothier 585871 585871 Peysey, John, of Taunton, Soms, clothier 2
5335377 2455648 2455648 defendant Miles John tanner 590366 590366 Miles, John, of Troubrigge, tanner 3
5335378 2455648 2455648 defendant Barbour William chapman 592956 592956 Barbour, William, of Bruton, Soms, chapman 4

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 14.412ms