home / cp40x

names

7 rows where case_id = 2225310

✎ 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
4580251 2225310 2225310 plaintiff Danyell John   585936 585936 Danyell, John, of Norwich 0
4580252 2225310 2225310 defendant Pyrte Ralph   592782 592782 Pyrte, Ralph, of Hale, parson 0
4580253 2225310 2225310 defendant Garkere Walter   635952 635952 Garkere, Walter, of Erlham, vicar 1
4580254 2225310 2225310 defendant Feythom Richard   593513 593513 Feythom, Richard, of Staunton 2
4580255 2225310 2225310 defendant Barbour William   771709 771709 Barbour, William, of Chatgrave, vicar 3
4580256 2225310 2225310 defendant Hole Robert     Hole, Robert 4
4580257 2225310 2225310 defendant Clerk John   594580 594580 Clerk, John, of Swafham Market, vicar 5

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 15.469ms