home / cp40x

names

6 rows where case_id = 1955302

✎ 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
3791863 1955302 1955302 plaintiff Aleyn Thomas (legal representative)   Aleyn, Thomas, executors of 0
3791864 1955302 1955302 plaintiff Fykes John     (Fykes, John 1
3791865 1955302 1955302 plaintiff Wryght John     Wryght, John 2
3791866 1955302 1955302 defendant Shrymlyng Thomas tanner 599996 599996 Shrymlyng, Thomas, of Carbroke, tanner 0
3791867 1955302 1955302 defendant Grene John, junior tailor 599996 599996 Grene, John, junior, of Carbroke, tailor 1
3791868 1955302 1955302 defendant Scott Thomas, junior yeoman 599996 599996 Scott, Thomas, junior, of Carbroke, yeoman 2

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