home / cp40x

names

7 rows where case_id = 2397309

✎ 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
5136887 2397309 2397309 plaintiff Paston John esq   Paston, John, esq 0
5136888 2397309 2397309 defendant Wessell James husbandman 851437 851437 Wessell, James, of Lyng by Sparham, husbandman 0
5136889 2397309 2397309 defendant Warner William husandman 590844 590844 Warner, William, of Lyng, husandman 1
5136890 2397309 2397309 defendant Wade John   590844 590844 Wade, John, of lyng husbandman 2
5136891 2397309 2397309 defendant Frank Adam husbandman 589569 589569 Frank, Adam, of Westwyk, husbandman 3
5136892 2397309 2397309 defendant Crede Thomas husbandman 587387 587387 Crede, Thomas, of Boton, husbandman 4
5136893 2397309 2397309 defendant Tomyas Nicholas husbandman 759968 759968 Tomyas, Nicholas, of Toun bernyngham, 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 15.841ms