home / cp40x

names

6 rows where case_id = 2310547

✎ 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
4846931 2310547 2310547 plaintiff Redmane Thomas esq   Redmane, Thomas, esq 0
4846932 2310547 2310547 defendant Hodelstane John yeoman 811940 811940 Hodelstane, John, of Westhous, in Lonesdale, yeoman 0
4846933 2310547 2310547 defendant Geldhird Robert husbandman 810735 810735 Geldhird, Robert, of Austwyk, husbandman 1
4846934 2310547 2310547 defendant Atkynson Roger yeoman 602005 602005 Atkynson, Roger, of Ireby, Lancs, yeoman 2
4846935 2310547 2310547 defendant Burgh John de husbandman 811941 811941 Burgh, John de, of Westhouse in Lonesdale, husbandman 3
4846936 2310547 2310547 defendant Wilson Thomas husbandman 586344 586344 Wilson, Thomas, of Burton, husbandman 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 6.44ms