home / cp40x

names

7 rows where case_id = 2261636

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4687302 2261636 2261636 plaintiff Stevensby Robert     Stevensby, Robert 0
4687303 2261636 2261636 plaintiff Stevensby Joan     Joan, his wife 1
4687304 2261636 2261636 defendant Bukley Richard husbandman 784484 784484 Bukley, Richard, of Willughby, Notts, husbandman 0
4687305 2261636 2261636 defendant Porchet Thomas husbandman 784485 784485 Porchet, Thomas, of Willugby, husbandman 1
4687306 2261636 2261636 defendant Heyward Richard husbandman 617396 617396 Heyward, Richard, of Willughby, husbandman 2
4687307 2261636 2261636 defendant Nicolasson Robert husbandman 617396 617396 Nicolasson, Robert, of Willughby, husbandman 3
4687308 2261636 2261636 defendant Gren Richard husbandman 617396 617396 Gren, Richard, of Willughby, 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 16.13ms