home / cp40x

names

6 rows where case_id = 2523594

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: forename, occupation, place_id

id ▼ case_id role surname forename occupation place_id raw_segment seq
5562363 2523594 2523594 defendant Baxter Richard husbndman 590844 590844 Baxter, Richard, of Lyng, husbndman 0
5562364 2523594 2523594 defendant Laws Eustace husbandman 586157 586157 Laws, Eustace, of Mateshale, husbandman 1
5562365 2523594 2523594 defendant Hodney John husbandman 614703 614703 Hodney, John, of Wodebastwyk, husbandman 2
5562366 2523594 2523594 defendant Johnson Geoffrey husbandman 592202 592202 Johnson, Geoffrey, of Hapton, husbandman 3
5562367 2523594 2523594 defendant Money Edward husbandman 769139 769139 Money, Edward, of Cantele, husbandman 4
5562368 2523594 2523594 defendant Wylde John husbandman 614703 614703 Wylde, John, of Wodebastwyk, husbandman 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 15.144ms