home / cp40x

names

5 rows where place_id = 854470

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5138784 2397843 2397843 defendant Rede Richard yeoman 854470 854470 Rede, Richard, of Hounslow, Middx, of the King's Hospice, yeoman 0
5158994 2403750 2403750 defendant Langley John yeoman 854470 854470 Langley, John, of Hounslow, Middx, yeoman 3
5174265 2408177 2408177 defendant Langley John yeoman 854470 854470 Langley, John, of Hounslow, Middx, yeoman 2
5185222 2411423 2411423 defendant Brodwater Simon husbandman 854470 854470 Brodwater, Simon, of Hounslow, Middx, husbandman 1
5416714 2479918 2479918 defendant Woodall John yeoman 854470 854470 Woodall, John, of Hounslow, Middx, 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 16.652ms