home / cp40x

names

8 rows where case_id = 2398726

✎ 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
5141823 2398726 2398726 plaintiff Wardrop William     Wardrop, William 0
5141824 2398726 2398726 defendant Sclater William yeoman 635347 635347 Sclater, William, of Byland, yeoman 0
5141825 2398726 2398726 defendant Foystour Thomas yeoman 626774 626774 Foystour, Thomas, of Cokwold, yeoman 1
5141826 2398726 2398726 defendant Lokwod James laborer 756486 756486 Lokwod, James, of Kilburn, laborer 2
5141827 2398726 2398726 defendant Foystour Richard forrester 756486 756486 Foystour, Richard, of Kilburn, forrester 3
5141828 2398726 2398726 defendant Wilson Thomas laborer 756486 756486 Wilson, Thomas, of Kilburn, laborer 4
5141829 2398726 2398726 defendant Foystour George laborer 756486 756486 Foystour, George, of Kilburn, laborer 5
5141830 2398726 2398726 defendant Foystour James laborer 756486 756486 Foystour, James, of Kilburn, laborer 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.842ms