home / cp40x

names

7 rows where place_id = 797137

✎ 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
4754606 2281823 2281823 defendant Smyth Thomas smith 797137 797137 Smyth, Thomas, of Blankeney, Lincs, smith 5
4764377 2284851 2284851 defendant Smyth Thomas smith 797137 797137 Smyth, Thomas, of Blankeney, Lincs, smith 5
5130017 2395264 2395264 defendant Mason John gent 797137 797137 (Mason, John, of Blankeney, Lincs, gent 1
5239563 2427157 2427157 defendant Mason John gent 797137 797137 Mason, John, of Blankeney, Lincs, gent 3
5289253 2441858 2441858 defendant Langton Richard gent 797137 797137 Langton, Richard, of Blankeney, Lincs, gent 0
5289261 2441860 2441860 defendant Langton Richard gent 797137 797137 Langton, Richard, of Blankeney, Lincs, gent 0
5301103 2445284 2445284 defendant Mason John gent 797137 797137 Mason, John, of Blankeney, Lincs, gent 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 20.779ms