home / cp40x

names

7 rows where case_id = 2405948

✎ 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
5166589 2405948 2405948 plaintiff Caldwell Benedict     Caldwell, Benedict 0
5166590 2405948 2405948 defendant Coghtesale Thomas laborer 593436 593436 Coghtesale, Thomas, of Westilton, laborer 0
5166591 2405948 2405948 defendant Dowrys John clerk 855385 855385 Dowrys, John, of Eril Stonham or Earl Stonham, clerk 1
5166592 2405948 2405948 defendant Valentyne John laborer 604686 604686 Valentyne, John, of Holbroke, laborer 2
5166593 2405948 2405948 defendant Wardeyn John husbandman 781719 781719 Wardeyn, John, of Earls Soham, husbandman 3
5166594 2405948 2405948 defendant Thorde Thomas laborer 589928 589928 Thorde, Thomas, of Mendham, laborer 4
5166595 2405948 2405948 defendant Mors John husbandman 589928 589928 Mors, John, of Mendham, husbandman 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 15.823ms