home / cp40x

names

8 rows where place_id = 662581

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3965466 2012536 2012536 defendant Pockley Richard husbandman 662581 662581 Pockley, Richard, of Agnes Burton, husbandman 0
3965467 2012536 2012536 defendant Newsted Robert husbandman 662581 662581 Newsted, Robert, of Agnes Burton, husbandman 1
3965468 2012536 2012536 defendant Clarke Nicholas husbandman 662581 662581 Clarke, Nicholas, of Agnes Burton, husbandman 2
4074844 2051302 2051302 defendant Thorneholme John yeoman 662581 662581 Thorneholme, John, of Agnes Burton, yeoman 0
4085718 2055163 2055163 defendant Walker Christopher yeoman 662581 662581 Walker, Christopher, of Agnes Burton, yeoman 0
4109331 2063599 2063599 defendant Thorneholme John gent 662581 662581 Thorneholme, John, of Agnes Burton, gent 0
4185724 2090510 2090510 defendant Jackson John yeoman 662581 662581 Jackson, John, of Agnes Burton, yeoman 0
4817978 2301703 2301703 defendant Bryan John clerk 662581 662581 Bryan, John, of Agnes Burton, clerk 1

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.993ms