home / cp40x

names

7 rows where case_id = 2322564

✎ 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
4886255 2322564 2322564 plaintiff Croucheman John     Croucheman, John 0
4886256 2322564 2322564 defendant Hayward Thomas husbandman 597723 597723 Hayward, Thomas, of Homyngton, husbandman 0
4886257 2322564 2322564 defendant Couper Richard laborer 817402 817402 Couper, Richard, of Est Dounton, laborer 1
4886258 2322564 2322564 defendant Stonyng Richard of Brutford husbandman   Stonyng, Richard of Brutford, husbandman 2
4886259 2322564 2322564 defendant Purdy John husbandman 599902 599902 Purdy, John, of Combe, husbandman 3
4886260 2322564 2322564 defendant Bolton John husbandman 605869 605869 Bolton, John, of Alwardbury, husbandman 4
4886261 2322564 2322564 defendant Clerk John tiler 605869 605869 Clerk, John, of Alwardbury, tiler 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 16.358ms