home / cp40x

names

6 rows where case_id = 1990619

✎ 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
3901169 1990619 1990619 plaintiff Cogeyn Thomas     Cogeyn, Thomas 0
3901170 1990619 1990619 defendant Whytehorne Robert chapman 648349 648349 Whytehorne, Robert, of Sidwelly, chapman 0
3901171 1990619 1990619 defendant Thorne William chapman 585870 585870 Thorne, William, of Brygewater, Soms, chapman 1
3901172 1990619 1990619 defendant Hore Philip chapman 592932 592932 Hore, Philip, of Sydmouth, chapman 2
3901173 1990619 1990619 defendant Fletcher William chapman 586442 586442 Fletcher, William, of Honyton, chapman 3
3901174 1990619 1990619 defendant Welshe William chapman 585870 585870 Welshe, William, of Brygewater, 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.776ms