home / cp40x

names

7 rows where case_id = 2266642

✎ 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
4704031 2266642 2266642 plaintiff Horpole John   624751 624751 Horpole, John, of Aram, parson of the church 0
4704032 2266642 2266642 plaintiff Claymond Thomas     Claymond, Thomas 1
4704033 2266642 2266642 plaintiff Kirkton John   687166 687166 Kirkton, John, of Kilmyngton 2
4704034 2266642 2266642 plaintiff Outhorp John   586846 586846 Outhorp, John, of Lincoln 3
4704035 2266642 2266642 defendant Beby John mercer 587948 587948 Beby, John, of Newerk, mercer 0
4704036 2266642 2266642 defendant Chapelayn Thomas yeoman 587948 587948 Chapelayn, Thomas, of Newerk, yeoman 1
4704037 2266642 2266642 defendant Ruxston Thomas mercer 587948 587948 Ruxston, Thomas, of Newerk, mercer 2

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