home / cp40x

names

7 rows where case_id = 2369842

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5044026 2369842 2369842 plaintiff Grevyle John esq   Grevyle, John, esq 0
5044027 2369842 2369842 defendant Bovy William, junior weaver 718313 718313 Bovy, William, junior, of Chipping Campden, weaver 0
5044028 2369842 2369842 defendant Chamburleyn William husbandman 718313 718313 Chamburleyn, William, of Chipping Campden, husbandman 1
5044029 2369842 2369842 defendant Wynnesbury John yeoman 718313 718313 Wynnesbury, John, of Chipping Campden, yeoman 2
5044030 2369842 2369842 defendant Tayllour Richard tailor 718313 718313 Tayllour, Richard, of Chipping Campden, tailor 3
5044031 2369842 2369842 defendant Glover Robert   718313 718313 Glover, Robert, of Chipping Campden, groom 4
5044032 2369842 2369842 defendant Meverell       Meverell, 5

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.951ms