home / cp40x

names

5 rows where case_id = 2527126

✎ 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
5574581 2527126 2527126 plaintiff Ruddyng John     Ruddyng, John 0
5574582 2527126 2527126 defendant Tayler Thomas yeoman 591850 591850 Tayler, Thomas, of Bradley, yeoman 0
5574583 2527126 2527126 defendant Gybbons Richard husbandman 592611 592611 Gybbons, Richard, of Fekenham, husbandman 1
5574584 2527126 2527126 defendant Peret Richard husbandman 592611 592611 Peret, Richard, of Fekenham, husbandman 2
5574585 2527126 2527126 defendant Bonde William husbandman 592611 592611 Bonde, William, of Fekenham, 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 15.752ms