home / cp40x

names

6 rows where case_id = 2511201

✎ 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
5520395 2511201 2511201 plaintiff Brouse John (legal representative)   Brouse, John, executors of 0
5520396 2511201 2511201 plaintiff Godde Richard     (Godde, Richard 1
5520397 2511201 2511201 defendant Fox Thomas weaver 586368 586368 Fox, Thomas, of Taunton, weaver 0
5520398 2511201 2511201 defendant Lucas William weaver 586368 586368 Lucas, William, of Taunton, weaver 1
5520399 2511201 2511201 defendant Mille John husbandman 652451 652451 Mille, John, of Gregorystoke, husbandman 2
5520400 2511201 2511201 defendant Pawe Henry husbandman 592868 592868 Pawe, Henry, of Mertok, 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.71ms