home / cp40x

names

6 rows where case_id = 1937376

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3735626 1937376 1937376 plaintiff Herne William     Herne, William 0
3735627 1937376 1937376 defendant Cole Thomas wheeler 590141 590141 Cole, Thomas, of Dursley, wheeler 0
3735628 1937376 1937376 defendant Robyns Richard weaver 588802 588802 Robyns, Richard, of Wotton under Egge, weaver 1
3735629 1937376 1937376 defendant Blake John butcher 620425 620425 Blake, John, of Nymmesfeld, butcher 2
3735630 1937376 1937376 defendant Rede John weaver 597117 597117 Rede, John, of Nybley, weaver 3
3735631 1937376 1937376 defendant Kyng John butcher 596973 596973 Kyng, John, of Newport, butcher 4

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