home / cp40x

names

8 rows where case_id = 1871498

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3612367 1871498 1871498 plaintiff Talbot George Earl of Shrewsbury   Talbot, George, Earl of Shrewsbury 0
3612368 1871498 1871498 defendant Smyth Robert yeoman 593561 593561 Smyth, Robert, of Ratclyff on Soure, Notts, yeoman 0
3612369 1871498 1871498 defendant Smyth Henry yeoman 593562 593562 Smyth, Henry, of Ratclyff on Soure, yeoman 1
3612370 1871498 1871498 defendant Paresse William, junior yeoman 593562 593562 Paresse, William, junior, of Ratclyff on Soure, yeoman 2
3612371 1871498 1871498 defendant Wynter Walter yeoman 593566 593566 Wynter, Walter, of Hiehegh, yeoman 3
3612372 1871498 1871498 defendant Burton John yeoman 593564 593564 Burton, John, of Brodeholme, yeoman 4
3612373 1871498 1871498 defendant Parker William yeoman 593565 593565 Parker, William, of Belper, yeoman 5
3612374 1871498 1871498 defendant Norman Robert yeoman 593565 593565 Norman, Robert, of Belper, 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 13.105ms