home / cp40x

names

7 rows where case_id = 2341724

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4949145 2341724 2341724 plaintiff Morgan William (legal representative)   Morgan, William, executors of 0
4949146 2341724 2341724 plaintiff Morgan Maud     (Morgan, Maud 1
4949147 2341724 2341724 plaintiff Stather Richard     Stather, Richard 2
4949148 2341724 2341724 defendant Tolus John husbandman 773405 773405 Tolus, John, of Over Tynton, husbandman 0
4949149 2341724 2341724 defendant Martyn John husbandman 610271 610271 Martyn, John, of Rughton, husbandman 1
4949150 2341724 2341724 defendant Nene or Neve Lawrence chaplain 658645 658645 Nene or Neve, Lawrence, of Kirkeby on Bayne, chaplain 2
4949151 2341724 2341724 defendant Skynner Thomas husbandman 826187 826187 Skynner, Thomas, of Langton juxta Hormncastell, husbandman 3

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