home / cp40x

names

6 rows where case_id = 2447699

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5308882 2447699 2447699 plaintiff Smyth Simon grocer 585869 585869 Smyth, Simon, of London, grocer 0
5308883 2447699 2447699 defendant Taylour Robert dyer 603903 603903 Taylour, Robert, of Cranbrook, dyer 0
5308884 2447699 2447699 defendant Brekynden James smith 585863 585863 Brekynden, James, of Bedynden, smith 1
5308885 2447699 2447699 defendant Braylys William smith 717501 717501 Braylys, William, of Sittingbourne, smith 2
5308886 2447699 2447699 defendant Lent John, sen chapman 594892 594892 Lent, John, sen, of Elham, chapman 3
5308887 2447699 2447699 defendant Wyllys Henry dyer 632765 632765 Wyllys, Henry, of Tonbrigge, dyer 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 13.745ms