home / cp40x

names

7 rows where case_id = 2032199

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4020889 2032199 2032199 plaintiff Woornowe Thomas (legal representative)   Woornowe, Thomas, executor of 0
4020890 2032199 2032199 plaintiff Arney John     Arney, John 1
4020891 2032199 2032199 defendant Hyve Philip husbandman 673136 673136 Hyve, Philip, of Goldclyffe, husbandman 0
4020892 2032199 2032199 defendant Hawle Thomas husbandman 653242 653242 Hawle, Thomas, of Nashe, husbandman 1
4020893 2032199 2032199 defendant Weste John husbandman 668314 668314 Weste, John, of Redwick, husbandman 2
4020894 2032199 2032199 defendant Morsse Thomas husbandman 668314 668314 Morsse, Thomas, of Redwick, husbandman 3
4020895 2032199 2032199 defendant Dee Philip clerk 673136 673136 Dee, Philip, of Goldclyffe, clerk 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.29ms