home / cp40x

names

8 rows where case_id = 2328460

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4905930 2328460 2328460 plaintiff Hayton William clerk   Hayton, William, clerk, executors of 0
4905931 2328460 2328460 plaintiff Hayton Richard     (Hayton, Richard 1
4905932 2328460 2328460 plaintiff Soureby Christopher vicar of Merkham   Soureby, Christopher, vicar of Merkham 2
4905933 2328460 2328460 plaintiff Srewesbury John     Srewesbury, John 3
4905934 2328460 2328460 defendant Tyman John husbandman 819860 819860 Tyman, John, of Mankesee, husbandman 0
4905935 2328460 2328460 defendant Peece John husbandman 601265 601265 Peece, John, of Herstmonceux, Sussex, husbandman 1
4905936 2328460 2328460 defendant atte Beergh John husbandman 782852 782852 atte Beergh, John, of Wortelyng, Sussex, husbandman 2
4905937 2328460 2328460 defendant Cogger Stephen husbandman 819861 819861 Cogger, Stephen, of Boreham, Sussex, husbandman 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 7.836ms