home / cp40x

names

7 rows where place_id = 808640

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4827230 2304568 2304568 defendant Paton John husbandman 808640 808640 Paton, John, of Broomham, Beds, husbandman 0
4827231 2304568 2304568 defendant Est John husbandman 808640 808640 Est, John, of Broomham, Beds, husbandman 1
4827236 2304570 2304570 defendant Berne William husbandman 808640 808640 Berne, William, of Broomham, Beds, husbandman 0
4827238 2304570 2304570 defendant Est John husbandman 808640 808640 Est, John, of Broomham, Beds, husbandman 2
4827241 2304571 2304571 defendant Paton John husbandman 808640 808640 Paton, John, of Broomham, Beds, husbandman 0
4827244 2304572 2304572 defendant Skynner Thomas husbandman 808640 808640 Skynner, Thomas, of Broomham, Beds, husbandman 0
4827247 2304573 2304573 defendant Berne William husbandman 808640 808640 Berne, William, of Broomham, Beds, husbandman 0

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