home / cp40x

names

5 rows where case_id = 2445692

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5302426 2445692 2445692 plaintiff Fant John     Fant, John 0
5302427 2445692 2445692 defendant Castell Robert husbandman 870672 870672 Castell, Robert, of Redmerssham, husbandman 0
5302428 2445692 2445692 defendant Coste Thomas husbandman 809275 809275 Coste, Thomas, of Stoke, in the hundred of Hoo, husbandman 1
5302429 2445692 2445692 defendant Upton William husbandman 870673 870673 Upton, William, of _, near Petham, husbandman 2
5302430 2445692 2445692 defendant Alee William husbandman 594235 594235 Alee, William, of Godstone, Surrey, 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 14.619ms