home / cp40x

names

6 rows where case_id = 2515356

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5534575 2515356 2515356 plaintiff Babyngton Thomas     Babyngton, Thomas 0
5534576 2515356 2515356 defendant Smyth John   592500 592500 Smyth, John, of Horseley, scythe smith 0
5534577 2515356 2515356 defendant Souter John yeoman 593728 593728 Souter, John, of Horsley, yeoman 1
5534578 2515356 2515356 defendant Spenser Thomas husbandman 897305 897305 Spenser, Thomas, of Hegge, husbandman 2
5534579 2515356 2515356 defendant Alsop Richard husbandman 897301 897301 Alsop, Richard, of Allerwalsle, husbandman 3
5534580 2515356 2515356 defendant Glossop Thomas yeoman 609332 609332 Glossop, Thomas, of Callowe, yeoman 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 14.313ms