home / cp40x

names

6 rows where case_id = 2265297

✎ 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
4699496 2265297 2265297 plaintiff Dugelby Richard   586070 586070 Dugelby, Richard, of Beverley 0
4699497 2265297 2265297 defendant Grisacre William tailor 786840 786840 Grisacre, William, of Sledemer, tailor 0
4699498 2265297 2265297 defendant Cademan William husbandman 786841 786841 Cademan, William, of Wharrom Percy, husbandman 1
4699499 2265297 2265297 defendant Plummer Thomas husbandman 589626 589626 Plummer, Thomas, of Walkyngton, husbandman 2
4699500 2265297 2265297 defendant Hikeston Robert husbandman 786842 786842 Hikeston, Robert, of Attenwyk, husbandman 3
4699501 2265297 2265297 defendant Clerk Richard husbandman 786842 786842 Clerk, Richard, of Attenwyk, 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 16.97ms