home / cp40x

names

9 rows where case_id = 2551662

✎ 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
5624712 2551662 2551662 plaintiff Lesham John (legal representative)   Lesham, John, executors of 0
5624713 2551662 2551662 plaintiff Aglyon Richard   586070 586070 (Aglyon, Richard, of Beverley 1
5624714 2551662 2551662 plaintiff Aclom John   590586 590586 Aclom, John, of Scarburgh 2
5624715 2551662 2551662 plaintiff Raven William clerk   Raven, William, clerk 3
5624716 2551662 2551662 plaintiff Rypon Thomas   586067 586067 Rypon, Thomas, of York 4
5624717 2551662 2551662 defendant Wode John husbandman 610479 610479 Wode, John, of Brompton, husbandman 0
5624718 2551662 2551662 defendant Snaynton Robert husbandman 596299 596299 Snaynton, Robert, of Snaynton, husbandman 1
5624719 2551662 2551662 defendant Edward Robert husbandman 907002 907002 Edward, Robert, of Haknesse, husbandman 2
5624720 2551662 2551662 defendant Steton John barber 590586 590586 Steton, John, of Scarburgh, barber 3

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 11.868ms