home / cp40x

names

6 rows where case_id = 2424811

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5231550 2424811 2424811 plaintiff Bolton John     Bolton, John 0
5231551 2424811 2424811 defendant Shereve Edmund carpenter 586134 586134 Shereve, Edmund, of Ipswich, carpenter 0
5231552 2424811 2424811 defendant Smyth Hugh yeoman 596344 596344 Smyth, Hugh, of Stoke juxta Neylond, yeoman 1
5231553 2424811 2424811 defendant Garon John fuller 586134 586134 Garon, John, of Ipswich, fuller 2
5231554 2424811 2424811 defendant Codwell John smith 590089 590089 Codwell, John, of Polsted, smith 3
5231555 2424811 2424811 defendant Forgon John barker 757947 757947 Forgon, John, of Wodebregge, barker 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 15.106ms