home / cp40x

names

8 rows where place_id = 605343

✎ 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
3661252 1913795 1913795 defendant Newby Francis gent 605343 605343 Newby, Francis, of Kirkfenton, gent 0
3667463 1915763 1915763 defendant Newby William gent 605343 605343 Newby, William, of Kirkfenton, gent 0
4181581 2089041 2089041 defendant Beverlay James gent 605343 605343 Beverlay, James, of Kirkfenton, gent 0
4224243 2103967 2103967 defendant Lawson Robert laborer 605343 605343 Lawson, Robert, of Kirkfenton, laborer 3
4224244 2103967 2103967 defendant Potter Robert tanner 605343 605343 Potter, Robert, of Kirkfenton, tanner 4
4224245 2103967 2103967 defendant Clay Christopher laborer 605343 605343 Clay, Christopher, of Kirkfenton, laborer 5
4224247 2103967 2103967 defendant Dockley John laborer 605343 605343 Dockley, John, of Kirkfenton, laborer 7
5236772 2426339 2426339 defendant Thorp William gent 605343 605343 Thorp, William, of Kirkfenton, gent 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 16.129ms