home / cp40x

names

6 rows where case_id = 2239889

✎ 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
4628663 2239889 2239889 plaintiff Selk John     Selk, John 0
4628664 2239889 2239889 defendant Saundres William   597822 597822 Saundres, William, of Cote 0
4628665 2239889 2239889 defendant Irmonger Peter frenchman 594871 594871 Irmonger, Peter, of Devyses, frenchman 1
4628666 2239889 2239889 defendant Sadeler Richard   757082 757082 Sadeler, Richard, of Marlebergh 2
4628667 2239889 2239889 defendant Pateney John tailor 594871 594871 Pateney, John, of Devyses, tailor 3
4628668 2239889 2239889 defendant Peyntour Robert   585925 585925 Peyntour, Robert, of Bristol 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.631ms