home / cp40x

names

6 rows where case_id = 1874040

✎ 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
3620655 1874040 1874040 plaintiff Marchaunt Richard     Marchaunt, Richard 0
3620656 1874040 1874040 defendant Eyre Robert husbandman 594476 594476 Eyre, Robert, of Rokelond juxta Hengham, husbandman 0
3620657 1874040 1874040 defendant Vyncent William husbandman 590846 590846 Vyncent, William, of Shipdam, husbandman 1
3620658 1874040 1874040 defendant Savage John husbandman 586043 586043 Savage, John, of Reymerston, husbandman 2
3620659 1874040 1874040 defendant Stapulton Robert husbandman 592662 592662 Stapulton, Robert, of Letton, husbandman 3
3620660 1874040 1874040 defendant Dancourt Richard cooper 595489 595489 Dancourt, Richard, of Cranworth, cooper 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 11.773ms