home / cp40x

names

9 rows where case_id = 2241135

✎ 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
4632793 2241135 2241135 plaintiff Walden William     Walden, William 0
4632794 2241135 2241135 defendant Lucas Robert     Lucas, Robert 0
4632795 2241135 2241135 defendant Smyth Robert   776350 776350 Smyth, Robert, of Litlebury 1
4632796 2241135 2241135 defendant Clerk Ralph   589377 589377 Clerk, Ralph, of Thaxsted 2
4632797 2241135 2241135 defendant Trumpe Robert   610156 610156 Trumpe, Robert, of Aldebury, Herts 3
4632798 2241135 2241135 defendant Gernon Thomas   776351 776351 Gernon, Thomas, of Colchester de le Hythe 4
4632799 2241135 2241135 defendant Bourneman John     Bourneman, John 5
4632800 2241135 2241135 defendant Brodeoke Thomas     Brodeoke, Thomas 6
4632801 2241135 2241135 defendant Aleyn William   755847 755847 Aleyn, William, of Bokesworth 7

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