home / cp40x

names

7 rows where case_id = 2490503

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5452072 2490503 2490503 plaintiff Stevenson Simon draper 585869 585869 Stevenson, Simon, of London, draper 0
5452073 2490503 2490503 defendant Moryson Richard draper 586175 586175 Moryson, Richard, of Canterbury, draper 0
5452074 2490503 2490503 defendant Fetherston Richard draper 586175 586175 Fetherston, Richard, of Canterbury, draper 1
5452075 2490503 2490503 defendant Lopham Edmund tailor 777611 777611 Lopham, Edmund, of Sittingbourn, tailor 2
5452076 2490503 2490503 defendant Dewell Henry draper 777314 777314 Dewell, Henry, of D_, draper 3
5452077 2490503 2490503 defendant Coup Robert husbandman   Coup, Robert, husbandman 4
5452078 2490503 2490503 defendant Sexten John husbandman 591342 591342 Sexten, John, of Rolvynden, 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 11.167ms