home / cp40x

names

6 rows where case_id = 2339910

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4943411 2339910 2339910 plaintiff Godalghan John, junior     Godalghan, John, junior 0
4943412 2339910 2339910 defendant Goff Alvered smith 590632 590632 Goff, Alvered, of St Peryn, smith 0
4943413 2339910 2339910 defendant Goff Martin smith 825461 825461 Goff, Martin, of Seyntia, smith 1
4943414 2339910 2339910 defendant Goff Richard smith 825462 825462 Goff, Richard, of Seyntdey, smith 2
4943415 2339910 2339910 defendant Bollier John Betty tucker 602355 602355 Bollier, John Betty, of St Madern, tucker 3
4943416 2339910 2339910 defendant Goff John smith 597064 597064 Goff, John, of Redruth, smith 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 16.892ms