home / cp40x

names

7 rows where case_id = 1939038

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3740973 1939038 1939038 plaintiff Shukborough John     Shukborough, John 0
3740974 1939038 1939038 defendant Freman John yeoman 586870 586870 Freman, John, of Good Ester, yeoman 0
3740975 1939038 1939038 defendant Crowcheman John butcher 586870 586870 Crowcheman, John, of Good Ester, butcher 1
3740976 1939038 1939038 defendant Coche Richard laborer 586870 586870 Coche, Richard, of Good Ester, laborer 2
3740977 1939038 1939038 defendant Ketyll obert laborer 586870 586870 Ketyll, obert, of Good Ester, laborer 3
3740978 1939038 1939038 defendant Watson William tailor 586870 586870 Watson, William, of Good Ester, tailor 4
3740979 1939038 1939038 defendant Freman George laborer 586870 586870 Freman, George, of Good Ester, laborer 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.898ms