home / cp40x

names

6 rows where case_id = 2377036

✎ 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
5068346 2377036 2377036 plaintiff Petyt John grocer 585869 585869 Petyt, John, of London, grocer 0
5068347 2377036 2377036 defendant Grene John clothjier 643421 643421 Grene, John, of Shipton Malet, Soms, clothjier 0
5068348 2377036 2377036 defendant Fyssher John clothier 769499 769499 Fyssher, John, of Frome in Selwode, Soms, clothier 1
5068349 2377036 2377036 defendant Lowerd John, senior clothier 628764 628764 Lowerd, John, senior, of Corscombe, Soms, clothier 2
5068350 2377036 2377036 defendant Brokeman John clothier 595670 595670 Brokeman, John, of Frome in Selwode, clothier 3
5068351 2377036 2377036 defendant Cherde Thomas clothier 842581 842581 Cherde, Thomas, of Taundenne, Soms, clothier 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 13.853ms