home / cp40x

names

6 rows where case_id = 2520598

✎ 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
5551895 2520598 2520598 plaintiff Dawys Richard     Dawys, Richard 0
5551896 2520598 2520598 defendant Funche John husbandman 591159 591159 Funche, John, of Hycchyn, husbandman 0
5551897 2520598 2520598 defendant Hyll William husbandman 899228 899228 Hyll, William, of Tytmer, husbandman 1
5551898 2520598 2520598 defendant Hynde William husbandman 624196 624196 Hynde, William, of Whetehamsted, husbandman 2
5551899 2520598 2520598 defendant Warde John husbandman 899229 899229 Warde, John, of Poytarsende, husbandman 3
5551900 2520598 2520598 defendant Reson John, junior husbandman 587004 587004 Reson, John, junior, of Preston, husbandman 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.311ms