home / cp40x

names

8 rows where case_id = 1979686

✎ 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
3868445 1979686 1979686 plaintiff Swyllyngton George gent   Swyllyngton, George, gent 0
3868446 1979686 1979686 defendant Ducket William clerk 642519 642519 Ducket, William, of Ruthley, Leics, clerk 0
3868447 1979686 1979686 defendant Cost William yeoman 642520 642520 Cost, William, of Bebe, Leics, yeoman 1
3868448 1979686 1979686 defendant Duncon Thomas husbandman 623138 623138 Duncon, Thomas, of Haryngworth, Nhants, husbandman 2
3868449 1979686 1979686 defendant Rushton John butcher 630157 630157 Rushton, John, of Oundell, Nhants, butcher 3
3868450 1979686 1979686 defendant Tailler William yeoman 642521 642521 Tailler, William, of Micho Weldon, Nhants, yeoman 4
3868451 1979686 1979686 defendant Stevenson John yeoman 592621 592621 Stevenson, John, of Haryngworth, yeoman 5
3868452 1979686 1979686 defendant Stevenson William oLondon, goldsmith   Stevenson, William, oLondon, goldsmith 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 5.668ms