home / cp40x

names

9 rows where case_id = 2346946

✎ 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
4966603 2346946 2346946 plaintiff Doun William     Doun, William 0
4966604 2346946 2346946 plaintiff Codyngham John     Codyngham, John 1
4966605 2346946 2346946 plaintiff Mason Simon     Mason, Simon 2
4966606 2346946 2346946 plaintiff Stokwode Lawrence     Stokwode, Lawrence 3
4966607 2346946 2346946 defendant Hale William husbandman 626173 626173 Hale, William, of Ofham, husbandman 0
4966608 2346946 2346946 defendant atte Hoo John smith 586447 586447 atte Hoo, John, of West Mallyng, smith 1
4966609 2346946 2346946 defendant Frost William husbandman 640128 640128 Frost, William, of Leybourne, husbandman 2
4966610 2346946 2346946 defendant Palmer John husbandman 626173 626173 Palmer, John, of Ofham, husbandman 3
4966611 2346946 2346946 defendant Palmer Peter husbandman 626173 626173 Palmer, Peter, of Ofham, husbandman 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 14.353ms