home / cp40x

names

8 rows where case_id = 1922222

✎ 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
3687347 1922222 1922222 plaintiff Cheyne Thomas gent   Cheyne, Thomas, gent 0
3687348 1922222 1922222 defendant Kyng John husbandman 611204 611204 Kyng, John, of Chalfount St Peter, Bucks, husbandman 0
3687349 1922222 1922222 defendant Copcot Thomas gent 608199 608199 Copcot, Thomas, of Ryngsale, Bucks, gent 1
3687350 1922222 1922222 defendant Emes Robert yeoman 590610 590610 Emes, Robert, of Hempsted, yeoman 2
3687351 1922222 1922222 defendant Hykbyd Hugh husbandman 611205 611205 Hykbyd, Hugh, of Parva Gaddesden, husbandman 3
3687352 1922222 1922222 defendant Busouth Thomas husbandman 611205 611205 Busouth, Thomas, of Parva Gaddesden, husbandman 4
3687353 1922222 1922222 defendant Prett Thomas laborer 611205 611205 Prett, Thomas, of Parva Gaddesden, laborer 5
3687354 1922222 1922222 defendant Walleys Leonard yeoman 585869 585869 Walleys, Leonard, of London, yeoman 6

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