home / cp40x

names

6 rows where case_id = 2495911

✎ 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
5469861 2495911 2495911 plaintiff Fabyan Robert draper 585869 585869 Fabyan, Robert, of London, draper 0
5469862 2495911 2495911 defendant Rylond Ralph husbandman 859709 859709 Rylond, Ralph, of Depford Stroude, Kent, husbandman 0
5469863 2495911 2495911 defendant Wylson Thomas husbandman 588473 588473 Wylson, Thomas, of Nasyng, Essex, husbandman 1
5469864 2495911 2495911 defendant Kamp John husbandman 611023 611023 Kamp, John, of Nasyng, husbandman 2
5469865 2495911 2495911 defendant Senden Richard husbandman 639586 639586 Senden, Richard, of Horsham, Kent, husbandman 3
5469866 2495911 2495911 defendant Lee Robert husbandman 602073 602073 Lee, Robert, of Roydon, Essex, 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 15.005ms