home / cp40x

names

8 rows where case_id = 1944980

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3759550 1944980 1944980 plaintiff Cockyssey John     Cockyssey, John 0
3759551 1944980 1944980 defendant Grenehyll John husbandman 624665 624665 Grenehyll, John, of Pynven, husbandman 0
3759552 1944980 1944980 defendant Mylward John of Pypleton husbandman   Mylward, John of Pypleton, husbandman 1
3759553 1944980 1944980 defendant Lyrcok Thomas yeoman 608020 608020 Lyrcok, Thomas, of Clent, Staffs, yeoman 2
3759554 1944980 1944980 defendant Lyrcok John weaver 607999 607999 Lyrcok, John, of Kemsey, weaver 3
3759555 1944980 1944980 defendant Payn Robert tailor 620937 620937 Payn, Robert, of Pypleton, tailor 4
3759556 1944980 1944980 defendant Butler William tailor 597261 597261 Butler, William, of Byrlyngham, tailor 5
3759557 1944980 1944980 defendant Hare Roger husbandman 624666 624666 Hare, Roger, of Mucknyll, husbandman 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 15.008ms