home / cp40x

names

6 rows where case_id = 2353625

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4988872 2353625 2353625 plaintiff Bromwyche Bernard     Bromwyche, Bernard 0
4988873 2353625 2353625 plaintiff Bromwyche Thomas     Bromwyche, Thomas 1
4988874 2353625 2353625 defendant Webbe John laborer 586274 586274 Webbe, John, of Barnestaple, laborer 0
4988875 2353625 2353625 defendant Toker William shipman 586274 586274 Toker, William, of Barnestaple, shipman 1
4988876 2353625 2353625 defendant Hendy Walter shipman 816460 816460 Hendy, Walter, of Yenstowe, shipman 2
4988877 2353625 2353625 defendant Hendy Walter husbandman 816460 816460 Hendy, Walter, of Yenstowe, husbandman 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.718ms