home / cp40x

names

6 rows where case_id = 1993222

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3908750 1993222 1993222 plaintiff Russell John knight   Russell, John, knight 0
3908751 1993222 1993222 defendant Halknytt Thomas gent 600260 600260 Halknytt, Thomas, of Eyton, gent 0
3908752 1993222 1993222 defendant Byrcher John clerk 678074 678074 Byrcher, John, of Tedston, clerk 1
3908753 1993222 1993222 defendant Cupper Edward yeoman 649830 649830 Cupper, Edward, of Yarpole, yeoman 2
3908754 1993222 1993222 defendant Badford William yeoman 649831 649831 Badford, William, of Charlestre, yeoman 3
3908755 1993222 1993222 defendant Knyght Walter yeoman 649831 649831 Knyght, Walter, of Charlestre, yeoman 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 13.568ms