home / cp40x

names

6 rows where case_id = 2451574

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5321734 2451574 2451574 plaintiff Lyon John draper 585869 585869 Lyon, John, of London, draper 0
5321735 2451574 2451574 plaintiff Turnour Ralph     Turnour, Ralph 1
5321736 2451574 2451574 defendant Boys William   587635 587635 Boys, William, of Hadlegh, mason 0
5321737 2451574 2451574 defendant Snellyng Alexander husbandman 757631 757631 Snellyng, Alexander, of Elmesete, husbandman 1
5321738 2451574 2451574 defendant Carter John tailor 587635 587635 Carter, John, of Hadlegh, tailor 2
5321739 2451574 2451574 defendant Brook John butcher 587635 587635 Brook, John, of Hadlegh, butcher 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 9.753ms