home / cp40x

names

7 rows where case_id = 2119556

✎ 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
4270020 2119556 2119556 plaintiff Muscott John gent, attorney   Muscott, John, gent, attorney 0
4270021 2119556 2119556 defendant Barnard Francis, junior gent 675502 675502 Barnard, Francis, junior, of Abington, gent 0
4270022 2119556 2119556 defendant Grey Thomas esq 702968 702968 Grey, Thomas, of Langley, Leics, esq 1
4270023 2119556 2119556 defendant Elkington John esq 623748 623748 Elkington, John, of Shawell, Leics, esq 2
4270024 2119556 2119556 defendant Readlesham Robert yeoman 727099 727099 Readlesham, Robert, of Kingestrope, yeoman 3
4270025 2119556 2119556 defendant Payne Robert grocer 585869 585869 Payne, Robert, of London, grocer 4
4270026 2119556 2119556 defendant Allyngton John embroiderer 585869 585869 Allyngton, John, of London, embroiderer 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.279ms