home / cp40x

names

6 rows where case_id = 1924134

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3693349 1924134 1924134 plaintiff Machyn John     Machyn, John 0
3693350 1924134 1924134 defendant Godfrey Edmund sherman 586152 586152 Godfrey, Edmund, of Warwick, sherman 0
3693351 1924134 1924134 defendant Shoteswell Thomas husbandman 586152 586152 Shoteswell, Thomas, of Warwick, husbandman 1
3693352 1924134 1924134 defendant Robyns John husbandman 586152 586152 Robyns, John, of Warwick, husbandman 2
3693353 1924134 1924134 defendant Cokes George smith 586152 586152 Cokes, George, of Warwick, smith 3
3693354 1924134 1924134 defendant Lytlalys Richard weaver 586152 586152 Lytlalys, Richard, of Warwick, weaver 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 14.188ms