home / cp40x

names

6 rows where case_id = 2428449

✎ 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
5244050 2428449 2428449 plaintiff Pawelet John esq   Pawelet, John, esq 0
5244051 2428449 2428449 defendant Saxy Richard merchant 610111 610111 Saxy, Richard, of Hoke Mortymer, merchant 0
5244052 2428449 2428449 defendant Whelpele Thomas pewterer 586254 586254 Whelpele, Thomas, of Southampton, pewterer 1
5244053 2428449 2428449 defendant Styler Thomas husbandman 829684 829684 Styler, Thomas, of Tycchefeld, husbandman 2
5244054 2428449 2428449 defendant Cooke Henry husbandman 689339 689339 Cooke, Henry, of Goddeshill, Isle of Wight, husbandman 3
5244055 2428449 2428449 defendant Cruse John merchant 586254 586254 Cruse, John, of Southampton, merchant 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 16.153ms