home / cp40x

names

6 rows where case_id = 2303689

✎ 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
4824397 2303689 2303689 plaintiff Tasburgh Richard     Tasburgh, Richard, on his own account 0
4824398 2303689 2303689 defendant Worcetre William whittewer 585925 585925 Worcetre, William, of Bristol, whittewer 0
4824399 2303689 2303689 defendant Taverner John chapman 594307 594307 Taverner, John, of Thacheham, Berks, chapman 1
4824400 2303689 2303689 defendant Baldok Roger tailor 781059 781059 Baldok, Roger, of Baberham, Cambs, tailor 2
4824401 2303689 2303689 defendant Spycer John fo Odyham, Hants   Spycer, John, fo Odyham, Hants 3
4824402 2303689 2303689 defendant Felton William gent 585869 585869 Felton, William, of London, gent 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 7.692ms