home / cp40x

names

7 rows where case_id = 2465653

✎ 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
5368107 2465653 2465653 plaintiff Cras John mercer 585869 585869 Cras, John, of London, mercer 0
5368108 2465653 2465653 plaintiff Eston William mercer 585869 585869 Eston, William, of London, mercer 1
5368109 2465653 2465653 defendant Crabbe Nicholas chapman 878556 878556 Crabbe, Nicholas, of Waymouthe, Dors, chapman 0
5368110 2465653 2465653 defendant Haukyns Robert chapman 604323 604323 Haukyns, Robert, of bukyngham, Bucks, chapman 1
5368111 2465653 2465653 defendant Prentys John chapman 878557 878557 Prentys, John, of Herfordstoke, Essex, chapman 2
5368112 2465653 2465653 defendant Taillour John   596321 596321 Taillour, John, of Romsey, Hants, cloth maker 3
5368113 2465653 2465653 defendant Tarre William chapman 592276 592276 Tarre, William, of Bukyngham, chapman 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 16.681ms