home / cp40x

names

6 rows where case_id = 1972041

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3845139 1972041 1972041 plaintiff Elly John     Elly, John 0
3845140 1972041 1972041 defendant Clerke Robert laborer 638842 638842 Clerke, Robert, of Sollershoppe, Herefs, laborer 0
3845141 1972041 1972041 defendant Clerke John husbandman 594989 594989 Clerke, John, of Tyberton, husbandman 1
3845142 1972041 1972041 defendant Crokker William husbandman 590714 590714 Crokker, William, of Magna Teynton, husbandman 2
3845143 1972041 1972041 defendant Wade John laborer 638843 638843 Wade, John, of Magna Tyberton, laborer 3
3845144 1972041 1972041 defendant Freman Thomas carpenter 638843 638843 Freman, Thomas, of Magna Tyberton, carpenter 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.108ms