home / cp40x

names

5 rows where case_id = 2442686

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5292088 2442686 2442686 plaintiff Redknape William mercer 585869 585869 Redknape, William, of London, mercer 0
5292089 2442686 2442686 defendant Grene William chapman 644826 644826 Grene, William, of Shorham, Sussex, chapman 0
5292090 2442686 2442686 defendant Knyght Robert chapman 869409 869409 Knyght, Robert, of Duryngton, Sussex, chapman 1
5292091 2442686 2442686 defendant Walbrond John chapman 869412 869412 Walbrond, John, of Shaftysbury, Wilts, chapman 2
5292092 2442686 2442686 defendant Stokys William parson of Balcombe, Sussex   Stokys, William, parson of Balcombe, Sussex 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 15.779ms