home / cp40x

names

8 rows where case_id = 2306223

✎ 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
4832608 2306223 2306223 plaintiff Carlisle   in   Carlisle, prior of the church of the BM, in 0
4832609 2306223 2306223 defendant Robson John yeoman 809574 809574 Robson, John, of Tyndale, yeoman 0
4832610 2306223 2306223 defendant Swan John yeoman 809575 809575 Swan, John, of Lourbocle, yeoman 1
4832611 2306223 2306223 defendant Spycer Thomas yeoman 624814 624814 Spycer, Thomas, of Berwyk, yeoman 2
4832612 2306223 2306223 defendant Wright Robert yeoman 767481 767481 Wright, Robert, of Corbridge, yeoman 3
4832613 2306223 2306223 defendant Hernyson William yeoman 809576 809576 Hernyson, William, of Calole, yeoman 4
4832614 2306223 2306223 defendant Lambe John yeoman 809576 809576 Lambe, John, of Calole, yeoman 5
4832615 2306223 2306223 defendant Barker John yeoman 592147 592147 Barker, John, of Neuton, 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 18.811ms