home / cp40x

names

7 rows where case_id = 2369321

✎ 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
5042355 2369321 2369321 plaintiff de la Pole Ralph     de la Pole, Ralph 0
5042356 2369321 2369321 defendant Magson Nicholas butcher 838854 838854 Magson, Nicholas, of Magson, of Derby, butcher 0
5042357 2369321 2369321 defendant Spenser Richard   587136 587136 Spenser, Richard, of Derby, wright 1
5042358 2369321 2369321 defendant Mon John husbandman 838855 838855 Mon, John, of Little Ovre, husbandman 2
5042359 2369321 2369321 defendant Urille Thomas husbandman 838855 838855 Urille, Thomas, of Little Ovre, husbandman 3
5042360 2369321 2369321 defendant Milner Thomas husbandman 810828 810828 Milner, Thomas, of Little Over, husbandman 4
5042361 2369321 2369321 defendant Wilson William husbandman 810828 810828 Wilson, William, of Little Over, 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 14.605ms