home / cp40x

names

8 rows where case_id = 2262577

✎ 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
4690456 2262577 2262577 plaintiff Whitby John clerk   Whitby, John, clerk 0
4690457 2262577 2262577 plaintiff Seman Bartholomew gold beater   Seman, Bartholomew, gold beater 1
4690458 2262577 2262577 plaintiff Hilly John pulter or skinner 585869 585869 Hilly, John, of London, pulter or skinner 2
4690459 2262577 2262577 defendant Bagge John skinner 592083 592083 Bagge, John, of Wymbyssh, skinner 0
4690460 2262577 2262577 defendant Kebhill Nicholas skinner 585869 585869 Kebhill, Nicholas, of London, skinner 1
4690461 2262577 2262577 defendant Kebhill Margery     Margery, his wife 2
4690462 2262577 2262577 defendant Lyndeseye Robert sheerman 585869 585869 Lyndeseye, Robert, of London, sheerman 3
4690463 2262577 2262577 defendant Lyndeseye Agnes     Agnes, his wife 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 16.264ms