home / cp40x

names

6 rows where case_id = 2379010

✎ 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
5074933 2379010 2379010 plaintiff Wyllyam David     Wyllyam, David 0
5074934 2379010 2379010 defendant Bukwyll Robert husbandman 590525 590525 Bukwyll, Robert, of North Pederton, husbandman 0
5074935 2379010 2379010 defendant Payn William barber 590525 590525 Payn, William, of North Pederton, barber 1
5074936 2379010 2379010 defendant Coke John vicar of Nynehyde Flory   Coke, John, vicar of Nynehyde Flory 2
5074937 2379010 2379010 defendant Holdyche William mercer 586490 586490 Holdyche, William, of Milverton, mercer 3
5074938 2379010 2379010 defendant Burgeys William husbandman 590525 590525 Burgeys, William, of North Pederton, husbandman 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 6.894ms