home / cp40x

names

6 rows where place_id = 626949

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3773291 1949355 1949355 defendant Saunder William miller 626949 626949 Saunder, William, of Mynster Lovell, miller 2
4343425 2144976 2144976 defendant Trewman John gent 626949 626949 Trewman, John, of Mynster Lovell, gent 0
4905276 2328244 2328244 defendant Lovell William   626949 626949 Lovell, William, of Mynster Lovell, knight, kinsman of Lovell, Maud, Lady Lovell 0
5177410 2409090 2409090 defendant Lovell John   626949 626949 Lovell, John, of Mynster Lovell, knight 0
5200460 2415896 2415896 defendant Lovell John   626949 626949 Lovell, John, of Mynster Lovell, knight, lord Lovell 0
5211489 2419097 2419097 defendant Lovell John   626949 626949 Lovell, John, of Mynster Lovell, knight, lord Lovell 0

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 11.912ms