home / cp40x

names

6 rows where case_id = 2458366

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5344207 2458366 2458366 plaintiff Thomson John     Thomson, John 0
5344208 2458366 2458366 defendant Fleccher Richard tanner 875709 875709 Fleccher, Richard, of Normonby, Yorks, tanner 0
5344209 2458366 2458366 defendant Langton Walter carpenter 875710 875710 Langton, Walter, of Gysborn, Clyflond, carpenter 1
5344210 2458366 2458366 defendant Kyrke Thomas tanner 765895 765895 Kyrke, Thomas, of Gysborn, tanner 2
5344211 2458366 2458366 defendant Bell John husbandman 875711 875711 Bell, John, of Neweton, Clyflond, husbandman 3
5344212 2458366 2458366 defendant Cotton William husbandman 875712 875712 Cotton, William, of Cottum, Clyflond, husbandman 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.691ms