home / cp40x

names

5 rows where case_id = 2234744

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4611767 2234744 2234744 plaintiff Cole Roger master & formerly vicar 662790 662790 Cole, Roger, of Buryngton, master & formerly vicar 0
4611768 2234744 2234744 defendant Moreys Richard   591749 591749 Moreys, Richard, of South Molton 0
4611769 2234744 2234744 defendant Calard Richard   769694 769694 Calard, Richard, of Burnyngton 1
4611770 2234744 2234744 defendant Hackere Richard   602149 602149 Hackere, Richard, of Methe 2
4611771 2234744 2234744 defendant Smyth John   640744 640744 Smyth, John, of Saterlegh 3

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.506ms