home / cp40x

names

8 rows where case_id = 2439379

✎ 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
5280515 2439379 2439379 plaintiff Capys Robert esq   Capys, Robert, esq 0
5280516 2439379 2439379 defendant Iryssh Richard laborer 595125 595125 Iryssh, Richard, of Castelcombe, Wilts, laborer 0
5280517 2439379 2439379 defendant Lyllyngston Richard weaver 649963 649963 Lyllyngston, Richard, of Castelcombe, weaver 1
5280518 2439379 2439379 defendant Walflete Robert weaver 649963 649963 Walflete, Robert, of Castelcombe, weaver 2
5280519 2439379 2439379 defendant Sprynghole Thomas yeoman 801351 801351 together with Sprynghole, Thomas, of Mersshefeld, Glos, yeoman 3
5280520 2439379 2439379 defendant Mody William smith 775946 775946 Mody, William, of Mersshefeld, smith 4
5280521 2439379 2439379 defendant Taylour William tailor 649963 649963 Taylour, William, of Castelcombe, tailor 5
5280522 2439379 2439379 defendant Cary William yeoman 587346 587346 Cary, William, of Malmesbury, Wilts, 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 11.064ms