home / cp40x

names

8 rows where case_id = 2343073

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4953721 2343073 2343073 plaintiff Smyth Henry (legal representative)   Smyth, Henry, executors of 0
4953722 2343073 2343073 plaintiff Hulle Robert     (Hulle, Robert 1
4953723 2343073 2343073 plaintiff Inyll or Ivyll Thomas     Inyll or Ivyll, Thomas 2
4953724 2343073 2343073 defendant Smyth Robert husbandman 826802 826802 Smyth, Robert, of Okeburgh, husbandman 0
4953725 2343073 2343073 defendant Wallyng William husbandman 826803 826803 Wallyng, William, of Huyssh, husbandman 1
4953726 2343073 2343073 defendant Peche Richard husbandman 826803 826803 Peche, Richard, of Huyssh, husbandman 2
4953727 2343073 2343073 defendant Rowe John husbandman 594407 594407 Rowe, John, of Alvyngton, husbandman 3
4953728 2343073 2343073 defendant Elys John husbandman 784131 784131 Elys, John, of Lodeswyll, 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 18.015ms