home / cp40x

names

6 rows where case_id = 2195977

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4484907 2195977 2195977 plaintiff Pountfreyt Henry sadler 585869 585869 Pountfreyt, Henry, of London, sadler 0
4484908 2195977 2195977 plaintiff Docer Simon sadler 585869 585869 Docer, Simon, of London, sadler 1
4484909 2195977 2195977 defendant Haukeston John de knight   Haukeston, John de, knight 0
4484910 2195977 2195977 defendant Berie John   615552 615552 Berie, John, of Devon 1
4484911 2195977 2195977 defendant Lekenore Robert esq 691063 691063 Lekenore, Robert, of Oxfordshire, esq 2
4484912 2195977 2195977 defendant Steresake Richard de     Steresake, Richard de 3

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 13.612ms