home / cp40x

names

8 rows where case_id = 2359080

✎ 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
5007469 2359080 2359080 plaintiff St Quyntyn William     St Quyntyn, William 0
5007470 2359080 2359080 defendant Barde Robert gent 591835 591835 Barde, Robert, of Osgodby, gent 0
5007471 2359080 2359080 defendant Smalwode Thomas yeoman 755419 755419 Smalwode, Thomas, of Osbodby, yeoman 1
5007472 2359080 2359080 defendant Wyvell John gent 625642 625642 Wyvell, John, of Slyngesby, gent 2
5007473 2359080 2359080 defendant Pratte John yeoman 755419 755419 Pratte, John, of Osbodby, yeoman 3
5007474 2359080 2359080 defendant Lorymer Richard yeoman 591835 591835 Lorymer, Richard, of Osgodby, yeoman 4
5007475 2359080 2359080 defendant Baron Richard yeoman 591835 591835 Baron, Richard, of Osgodby, yeoman 5
5007476 2359080 2359080 defendant Smyth John husbandman 670674 670674 Smyth, John, of Keyton, husbandman 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 14.732ms