home / cp40x

names

6 rows where case_id = 2227206

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4586559 2227206 2227206 plaintiff Hibburn Robert     Hibburn, Robert 0
4586560 2227206 2227206 defendant Jakson Robert   772213 772213 Jakson, Robert, of Buterflete 0
4586561 2227206 2227206 defendant Brygg William   606673 606673 Brygg, William, of Hull 1
4586562 2227206 2227206 defendant Fountenay Thomas   601605 601605 Fountenay, Thomas, of Hill 2
4586563 2227206 2227206 defendant Wrangyll Richard   772214 772214 Wrangyll, Richard, of Salflete 3
4586564 2227206 2227206 defendant Sheel Robert   768034 768034 Sheel, Robert, of Wikham 4

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