home / cp40x

names

6 rows where case_id = 2287429

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4772685 2287429 2287429 plaintiff Sterre John     Sterre, John 0
4772686 2287429 2287429 defendant Ulff Robert yeoman 585936 585936 Ulff, Robert, of Norwich, yeoman 0
4772687 2287429 2287429 defendant Symcok Nicholas barber 800324 800324 Symcok, Nicholas, of Halstow, Kent, barber 1
4772688 2287429 2287429 defendant Saltmedwe John yeoman 597880 597880 Saltmedwe, John, of Bergholt, yeoman 2
4772689 2287429 2287429 defendant Strut Giles scalderer 588645 588645 Strut, Giles, of Clare, scalderer 3
4772690 2287429 2287429 defendant Brynkele John yeoman 586941 586941 Brynkele, John, of Boxford, yeoman 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 14.597ms