home / cp40x

names

6 rows where case_id = 1991949

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3905037 1991949 1991949 plaintiff Irby Anthony     Irby, Anthony 0
3905038 1991949 1991949 defendant Adam Robert, junior saltweller   Adam, Robert, junior, saltweller 0
3905039 1991949 1991949 defendant Remy Nicholas saltweller 589594 589594 Remy, Nicholas, of Quadryng, saltweller 1
3905040 1991949 1991949 defendant Welpedale Edmund saltweller 589594 589594 Welpedale, Edmund, of Quadryng, saltweller 2
3905041 1991949 1991949 defendant Dowsyng Simon husbandman 648032 648032 Dowsyng, Simon, of Surflett, husbandman 3
3905042 1991949 1991949 defendant Henyngham John, junior husbandman 590382 590382 Henyngham, John, junior, of Gosberton, 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 7.969ms