home / cp40x

names

7 rows where case_id = 1871094

✎ 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
3610936 1871094 1871094 plaintiff Dade John     Dade, John 0
3610937 1871094 1871094 defendant Praty William laborer 587550 587550 Praty, William, of Eye, laborer 0
3610938 1871094 1871094 defendant More George tailor 587550 587550 More, George, of Eye, tailor 1
3610939 1871094 1871094 defendant Whitfeld Anthony barber 587550 587550 Whitfeld, Anthony, of Eye, barber 2
3610940 1871094 1871094 defendant Dobbys Robert shoemaker 587550 587550 Dobbys, Robert, of Eye, shoemaker 3
3610941 1871094 1871094 defendant Grymston Thomas gent 593213 593213 Grymston, Thomas, of Wetheryngset, gent 4
3610942 1871094 1871094 defendant Eyer Thomas gent 587550 587550 Eyer, Thomas, of Eye, gent 5

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.342ms