home / cp40x

names

8 rows where place_id = 779354

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4660851 2249220 2249220 defendant Tomson John butcher 779354 779354 Tomson, John, of Kildale, butcher 1
4887610 2322960 2322960 defendant Percy John esq 779354 779354 Percy, John, of Kildale, esq 0
4887611 2322960 2322960 defendant Percy Alvered esq 779354 779354 together with Percy, Alvered, of Kildale, esq 1
4888636 2323239 2323239 defendant Burgh William laborer 779354 779354 Burgh, William, of Kildale, laborer 2
5073862 2378672 2378672 defendant Burgh William husbandman 779354 779354 Burgh, William, of Kildale, husbandman 0
5073863 2378672 2378672 defendant Percy Robert laborer 779354 779354 Percy, Robert, of Kildale, laborer 1
5111405 2389728 2389728 defendant Percy John esq 779354 779354 Percy, John, of Kildale, esq 0
5631284 2553787 2553787 defendant Gote William yeoman 779354 779354 Gote, William, of Kildale, yeoman 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 17.211ms