home / cp40x

names

7 rows where case_id = 2399066

✎ 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
5142954 2399066 2399066 plaintiff Yates John     Yates, John 0
5142955 2399066 2399066 plaintiff London Richard     London, Richard 1
5142956 2399066 2399066 defendant Fysshe William husbandman 756620 756620 Fysshe, William, of Kymberle, husbandman 0
5142957 2399066 2399066 defendant Roket Robert husbandman 586940 586940 Roket, Robert, of Baldeswell, husbandman 1
5142958 2399066 2399066 defendant Jopye Simon baker 591141 591141 Jopye, Simon, of Loddon, baker 2
5142959 2399066 2399066 defendant Nycoll William husbandman 589537 589537 Nycoll, William, of Banburgh, husbandman 3
5142960 2399066 2399066 defendant Wattes John baker 585936 585936 Wattes, John, of Norwich, baker 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.85ms