home / cp40x

names

6 rows where case_id = 1968981

✎ 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
3835301 1968981 1968981 plaintiff Pery John fishmonger 585869 585869 Pery, John, of London, fishmonger 0
3835302 1968981 1968981 defendant Pryour John chapman 591562 591562 Pryour, John, of Lewes, Sussex, chapman 0
3835303 1968981 1968981 defendant Clerk Nicholas mariner 617080 617080 Clerk, Nicholas, of Wynchelsee, Sussex, mariner 1
3835304 1968981 1968981 defendant Slutter Edward chapman 595162 595162 Slutter, Edward, of Lyndfeld, Sussex, chapman 2
3835305 1968981 1968981 defendant Sampson John dyer 586033 586033 Sampson, John, of Westminster, dyer 3
3835306 1968981 1968981 defendant Burton James gent 600708 600708 Burton, James, of Estborne, Sussex, gent 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.316ms