home / cp40x

names

7 rows where place_id = 756860

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4440973 2182099 2182099 defendant Wynde Adam   756860 756860 Wynde, Adam, of Kirkeby Bydon 1
4463907 2189389 2189389 defendant Cock John   756860 756860 Cock, John, of Kirkeby Bydon 0
4463910 2189389 2189389 defendant smyth Thomas   756860 756860 smyth, Thomas, of Kirkeby Bydon 3
4463912 2189390 2189390 defendant Cok John   756860 756860 Cok, John, of Kirkeby Bydon 0
4463915 2189390 2189390 defendant Smyth Thomas   756860 756860 Smyth, Thomas, of Kirkeby Bydon 3
4595188 2229748 2229748 defendant Cok John   756860 756860 Cok, John, of Kirkeby Bydon 7
4595201 2229749 2229749 defendant Cok John   756860 756860 Cok, John, of Kirkeby Bydon 7

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 14.582ms