home / cp40x

names

7 rows where case_id = 2058082

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4093728 2058082 2058082 plaintiff Ferne William gent   Ferne, William, gent 0
4093729 2058082 2058082 defendant Rawlynson John yeoman 692209 692209 Rawlynson, John, of Sprotbroughe, yeoman 0
4093730 2058082 2058082 defendant Furnes Mary widow 678306 678306 Furnes, Mary, of Awston, widow 1
4093731 2058082 2058082 defendant Lewes Richard yeoman 588489 588489 Lewes, Richard, of Melton, yeoman 2
4093732 2058082 2058082 defendant Hunter William yeoman 588489 588489 Hunter, William, of Melton, yeoman 3
4093733 2058082 2058082 defendant Metham William gent 664774 664774 Metham, William, of Cadebye, gent 4
4093734 2058082 2058082 defendant Chylde Edward yeoman 596906 596906 Chylde, Edward, of Newton, yeoman 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 14.493ms