home / cp40x

names

6 rows where case_id = 2445955

✎ 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
5303211 2445955 2445955 plaintiff Goddys Richard   596298 596298 Goddys, Richard, of Beccles 0
5303212 2445955 2445955 defendant Stanard Geoffrey barber 591328 591328 Stanard, Geoffrey, of Pakefeld, barber 0
5303213 2445955 2445955 defendant Pulham Edmund husbandman 870807 870807 Pulham, Edmund, of Sutton by Catefeld, Norf, husbandman 1
5303214 2445955 2445955 defendant Hopper Richard husbandman 619453 619453 Hopper, Richard, of Hopton, Suff, husbandman 2
5303215 2445955 2445955 defendant Tobell Thomas   605371 605371 Tobell, Thomas, of Topcroft, Norf, pedlar 3
5303216 2445955 2445955 defendant Hopton John husbandman 632608 632608 Hopton, John, of Norton Subcors, Norf, husbandman 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.705ms