home / cp40x

names

7 rows where case_id = 2503397

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5494990 2503397 2503397 plaintiff Grey Edmund Earl of Kent   Grey, Edmund, Earl of Kent 0
5494991 2503397 2503397 defendant Chery William chapman 593103 593103 Chery, William, of Toucester, chapman 0
5494992 2503397 2503397 defendant Hanmere John ostler 593103 593103 Hanmere, John, of Toucester, ostler 1
5494993 2503397 2503397 defendant Drury Thomas cordwainer 593103 593103 Drury, Thomas, of Toucester, cordwainer 2
5494994 2503397 2503397 defendant Taillour Robert tailor 593103 593103 Taillour, Robert, of Toucester, tailor 3
5494995 2503397 2503397 defendant Man Elias cordwainer 593103 593103 Man, Elias, of Toucester, cordwainer 4
5494996 2503397 2503397 defendant Tounsend John pulter 593103 593103 Tounsend, John, of Toucester, pulter 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 14.835ms