home / cp40x

names

6 rows where case_id = 1869941

✎ 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
3607283 1869941 1869941 plaintiff Reynold Richard draper 586117 586117 Reynold, Richard, of Coventry, draper 0
3607284 1869941 1869941 defendant Aunger John gent 592309 592309 Aunger, John, of Grymmesby, Lincs, gent 0
3607285 1869941 1869941 defendant Smyth Robert clerk 592310 592310 Smyth, Robert, of Ronde, Lincs, clerk 1
3607286 1869941 1869941 defendant Wareton Hugh yeoman 586117 586117 Wareton, Hugh, of Coventry, yeoman 2
3607287 1869941 1869941 defendant Thirtilby Robert clerk 592311 592311 Thirtilby, Robert, of Pannesworth, Cams, clerk 3
3607288 1869941 1869941 defendant Whiret Robert chapman 586431 586431 Whiret, Robert, of Lychefeld, Staffs, chapman 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 18.02ms