home / cp40x

names

6 rows where case_id = 2299931

✎ 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
4812202 2299931 2299931 plaintiff Grevyll Henry   805982 805982 Grevyll, Henry, of Almand, on his own account 0
4812203 2299931 2299931 defendant Hayll Richard dyer 604018 604018 Hayll, Richard, of Colchester, Essex, dyer 0
4812204 2299931 2299931 defendant Basset John dyer 586470 586470 Basset, John, of Colchester, dyer 1
4812205 2299931 2299931 defendant Bradle John chapman 586470 586470 Bradle, John, of Colchester, chapman 2
4812206 2299931 2299931 defendant Davy John dyer 586470 586470 Davy, John, of Colchester, dyer 3
4812207 2299931 2299931 defendant Kent Gilbert merchant 586470 586470 Kent, Gilbert, of Colchester, merchant 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 11.387ms