home / cp40x

names

6 rows where case_id = 1937575

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3736225 1937575 1937575 plaintiff Hunt Thomas     Hunt, Thomas 0
3736226 1937575 1937575 defendant Smarte Thomas merchant 586036 586036 Smarte, Thomas, of Exeter, merchant 0
3736227 1937575 1937575 defendant Seller Thomas   620561 620561 Seller, Thomas, of Adryngton, Devon 1
3736228 1937575 1937575 defendant Arundell John, junior esq 611745 611745 Arundell, John, junior, of Lanheron, Cornw, esq 2
3736229 1937575 1937575 defendant Bassett John   620562 620562 Bassett, John, of Umberlegh, Devon, knight 3
3736230 1937575 1937575 defendant Lympeny Robert gent 620137 620137 Lympeny, Robert, of Netherex, Devon, 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 13.614ms