home / cp40x

names

6 rows where case_id = 2171588

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4421368 2171588 2171588 plaintiff Coleman Geoffrey   754598 754598 Coleman, Geoffrey, of Inteberwe 0
4421369 2171588 2171588 defendant Grystare John le   754599 754599 Grystare, John le, of Fladebury 0
4421370 2171588 2171588 defendant Magge John   754599 754599 Magge, John, of Fladebury 1
4421371 2171588 2171588 defendant Tour John le Tour     Tour, John le Tour 2
4421372 2171588 2171588 defendant Sweyn Richard   754600 754600 Sweyn, Richard, of Throkemarton 3
4421373 2171588 2171588 defendant Bonde William   754600 754600 Bonde, William, of Throkemarton 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 13.049ms