home / cp40x

names

5 rows where case_id = 2367742

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5037182 2367742 2367742 plaintiff Wetherby Walter   586365 586365 Wetherby, Walter, of Wymondham 0
5037183 2367742 2367742 defendant Grene William yeoman 586365 586365 Grene, William, of Wymondham, yeoman 0
5037184 2367742 2367742 defendant Kerre Robert yeoman 586365 586365 Kerre, Robert, of Wymondham, yeoman 1
5037185 2367742 2367742 defendant Goche John, senior yeoman 769590 769590 Goche, John, senior, of Henghambergh, yeoman 2
5037186 2367742 2367742 defendant Write Thomas yeoman 591104 591104 Write, Thomas, of Runhale, 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 15.66ms