home / cp40x

names

5 rows where case_id = 1869860

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3607018 1869860 1869860 plaintiff Pruste John     Pruste, John 0
3607019 1869860 1869860 defendant Stoweford John yeoman 586639 586639 Stoweford, John, of Bokeland Bruer, yeoman 0
3607020 1869860 1869860 defendant Glanvyle Thomas yeoman 591392 591392 Glanvyle, Thomas, of Bradeford, yeoman 1
3607021 1869860 1869860 defendant Brounyng William (legal representative)   Brounyng, William, executors of 2
3607022 1869860 1869860 defendant Garlond Thomas yeoman 591392 591392 (Garlond, Thomas, of Bradeford, yeoman 3

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