home / cp40x

names

5 rows where case_id = 2139881

✎ 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
4328598 2139881 2139881 plaintiff Higges Richard gent, attorney   Higges, Richard, gent, attorney 0
4328599 2139881 2139881 defendant Middleton Robert gent 607903 607903 Middleton, Robert, of Bishops Castle, gent 0
4328600 2139881 2139881 defendant Maddock Edmund tanner 598030 598030 Maddock, Edmund, of Ludlowe, tanner 1
4328601 2139881 2139881 defendant Beck John clothier 598030 598030 Beck, John, of Ludlowe, clothier 2
4328602 2139881 2139881 defendant Cromerton Fulk victualer 662916 662916 Cromerton, Fulk, of Church Stretton, victualer 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 13.858ms