home / cp40x

names

7 rows where place_id = 618410

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3724478 1933943 1933943 plaintiff Roo Henry   618410 618410 Roo, Henry, of Shepton, Soms 0
4133057 2072152 2072152 defendant James John mercer 618410 618410 James, John, of Shepton, Soms, mercer 0
4139770 2074584 2074584 defendant Morgan John clothier 618410 618410 Morgan, John, of Shepton, Soms, clothier 0
4141844 2075312 2075312 defendant James John chapman 618410 618410 James, John, of Shepton, Soms, chapman 1
4157217 2080594 2080594 defendant Claves James chapman 618410 618410 Claves, James, of Shepton, Soms, chapman 0
4181049 2088846 2088846 defendant Morgan George clothier 618410 618410 Morgan, George, of Shepton, Soms, clothier 0
4366304 2152988 2152988 defendant Poore Nicholas clothier 618410 618410 Poore, Nicholas, of Shepton, Soms, clothier 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.098ms