home / cp40x

names

7 rows where place_id = 655485

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3936472 2002521 2002521 defendant Streche William husbandman 655485 655485 Streche, William, of Bramford Speke, husbandman 0
4684617 2260787 2260787 defendant Mayne John   655485 655485 Mayne, John, of Bramford Speke, mason 0
5042003 2369213 2369213 defendant Milward Richard husbandman 655485 655485 Milward, Richard, of Bramford Speke, husbandman 1
5462703 2493752 2493752 defendant Rolston John husbandman 655485 655485 Rolston, John, of Bramford Speke, husbandman 0
5598420 2534390 2534390 defendant Rolston William, senior husbandman 655485 655485 Rolston, William, senior, of Bramford Speke, husbandman 1
5598421 2534390 2534390 defendant Rolston John   655485 655485 Rolston, John, of Bramford Speke, groom 2
5598422 2534390 2534390 defendant Rolston William, junior   655485 655485 Rolston, William, junior, of Bramford Speke, groom 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 13.132ms