home / cp40x

names

6 rows where case_id = 2264693

✎ 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
4697453 2264693 2264693 plaintiff Coke Robert     Coke, Robert 0
4697454 2264693 2264693 defendant _etyll Thomas   793855 793855 _etyll, Thomas, of Northstoke, shepherd 0
4697455 2264693 2264693 defendant Drake John dyer 630995 630995 Drake, John, of Pensford, dyer 1
4697456 2264693 2264693 defendant Radewey John weaver 630995 630995 Radewey, John, of Pensford, weaver 2
4697457 2264693 2264693 defendant Sherman Ralph   786441 786441 Sherman, Ralph, of Chewyn, glove maker 3
4697458 2264693 2264693 defendant Teste Robert   786442 786442 Teste, Robert, of Pensford. Weaver 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.719ms