home / cp40x

names

8 rows where case_id = 2439380

✎ 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
5280523 2439380 2439380 plaintiff Capys Robert esq   Capys, Robert, esq 0
5280524 2439380 2439380 defendant Sprynghole Thomas yeoman 868104 868104 Sprynghole, Thomas, of Mershfeld, Glos, yeoman 0
5280525 2439380 2439380 defendant Mody William smith 593610 593610 Mody, William, of Mershfeld, smith 1
5280526 2439380 2439380 defendant Taylour William tailor 595125 595125 Taylour, William, of Castelcombe, Wilts, tailor 2
5280527 2439380 2439380 defendant Cary William yeoman 587346 587346 Cary, William, of Malmesbury, Wilts, yeoman 3
5280528 2439380 2439380 defendant Ityssh Ricard laborer 649963 649963 together with Ityssh, Ricard, of Castelcombe, laborer 4
5280529 2439380 2439380 defendant Lyllyngston Richard weaver 649963 649963 Lyllyngston, Richard, of Castelcombe, weaver 5
5280530 2439380 2439380 defendant Walflete Robert weaver 649963 649963 Walflete, Robert, of Castelcombe, weaver 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 15.809ms