home / cp40x

names

6 rows where case_id = 2410316

✎ 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
5181454 2410316 2410316 plaintiff Caldewell Benedict     Caldewell, Benedict 0
5181455 2410316 2410316 defendant Coghtesale Thomas laborer 593436 593436 Coghtesale, Thomas, of Westilton, laborer 0
5181456 2410316 2410316 defendant Dowrys John clerk 856769 856769 Dowrys, John, of Eril Stonham, clerk 1
5181457 2410316 2410316 defendant Valentyne John laborer 604686 604686 Valentyne, John, of Holbroke, laborer 2
5181458 2410316 2410316 defendant Thorde Thomas laborer 589928 589928 Thorde, Thomas, of Mendham, laborer 3
5181459 2410316 2410316 defendant Mors John husbandman 589928 589928 Mors, John, of Mendham, 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 15.13ms