home / cp40x

names

5 rows where place_id = 681020

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4043159 2040021 2040021 defendant vergh David Jeneta widow 681020 681020 vergh David, Jeneta, of Tredonock, widow 0
4073318 2050746 2050746 plaintiff Phillipp Thomas   681020 681020 Phillipp, Thomas, of Tredonock 0
4114201 2065362 2065362 defendant William Lawrence husbandman 681020 681020 William, Lawrence, of Tredonock, husbandman 1
4202231 2096321 2096321 defendant Philip William Morgan yeoman 681020 681020 Philip, William Morgan, of Tredonock, yeoman 2
4204667 2097180 2097180 defendant David John Thomas yeoman 681020 681020 David, John Thomas, of Tredonock, yeoman 2

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