home / cp40x

names

7 rows where case_id = 2459830

✎ 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
5349043 2459830 2459830 plaintiff Burgh Robert     Burgh, Robert 0
5349044 2459830 2459830 defendant Perkyn Waren yeoman 755602 755602 Perkyn, Waren, of Wadyngton, yeoman 0
5349045 2459830 2459830 defendant Lyson John husbandman 874263 874263 Lyson, John, of Thoresby juxta Gravesby, husbandman 1
5349046 2459830 2459830 defendant Calton Thomas laborer 590190 590190 Calton, Thomas, of Frysthorp, laborer 2
5349047 2459830 2459830 defendant Foterby Roger husbandman 590190 590190 Foterby, Roger, of Frysthorp, husbandman 3
5349048 2459830 2459830 defendant Est Henry husbandman 793152 793152 Est, Henry, of Bryggesley, husbandman 4
5349049 2459830 2459830 defendant Est Thomas husbandman 793152 793152 Est, Thomas, of Bryggesley, husbandman 5

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.137ms