home / cp40x

names

5 rows where case_id = 2436339

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5270014 2436339 2436339 plaintiff Crayk Isabel     Crayk, Isabel 0
5270015 2436339 2436339 plaintiff Crayk Thomas     Crayk, Thomas 1
5270016 2436339 2436339 defendant Boles John   590586 590586 Boles, John, of Scarburgh 0
5270017 2436339 2436339 defendant Haldenby Robert gent 632371 632371 Haldenby, Robert, of Swanland, gent 1
5270018 2436339 2436339 defendant D--- John husbandman 590898 590898 D---, John, of Kyllom, husbandman 2

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.86ms