home / cp40x

names

6 rows where case_id = 2474193

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5396891 2474193 2474193 plaintiff Brent William     Brent, William 0
5396892 2474193 2474193 plaintiff Brent Blanche     Blanche, his wife 1
5396893 2474193 2474193 defendant Denbawe William gent 589990 589990 Denbawe, William, of Shepton Beauchamp, gent 0
5396894 2474193 2474193 defendant Tylle John tailor 589990 589990 Tylle, John, of Shepton Beauchamp, tailor 1
5396895 2474193 2474193 defendant Perrott Richard husbandman 882911 882911 Perrott, Richard, of Shpton Beauchamp, husbandman 2
5396896 2474193 2474193 defendant Lanstham Nicholas husbandman 589990 589990 Lanstham, Nicholas, of Shepton Beauchamp, 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 13.751ms