home / cp40x

names

4 rows where place_id = 755607

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4429639 2174063 2174063 defendant Welleton Gilbert   755607 755607 Welleton, Gilbert, of York, canon of St Peter's church 0
4454767 2186500 2186500 plaintiff Mareschall John   755607 755607 Mareschall, John, of York, canon of St Peter's church, on his own account 0
4454770 2186501 2186501 plaintiff Mareschall John   755607 755607 Mareschall, John, of York, canon of St Peter's church, on his own account 0
4817665 2301613 2301613 plaintiff Morton Thomas   755607 755607 Morton, Thomas, of York, canon of St Peter's church 1

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