home / cp40x

names

5 rows where case_id = 2077663

✎ 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
4148680 2077663 2077663 plaintiff Draper Robert     Draper, Robert 0
4148681 2077663 2077663 defendant Lobdill William mercer 679964 679964 Lobdill, William, of Eastborne, mercer 0
4148682 2077663 2077663 defendant Paynett John mercer 703617 703617 Paynett, John, of Gorynge, mercer 1
4148683 2077663 2077663 defendant Alborne Robert (legal representative) 586857 586857 Alborne, Robert, of Estborne, mercer, executors of 2
4148684 2077663 2077663 defendant Afforde Edward yeoman 679964 679964 (Afforde, Edward, of Eastborne, 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 13.584ms