home / cp40x

names

6 rows where case_id = 2334895

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4927061 2334895 2334895 plaintiff Roger Thomas     Roger, Thomas 0
4927062 2334895 2334895 defendant Heyns John husbandman 823253 823253 Heyns, John, of North Henxey, Berks, husbandman 0
4927063 2334895 2334895 defendant Dalby William husbandman 823254 823254 Dalby, William, of south Henxey, husbandman 1
4927064 2334895 2334895 defendant Mone John husbandman 823254 823254 Mone, John, of south Henxey, husbandman 2
4927065 2334895 2334895 defendant Touneshende Thomas lalborer 672036 672036 Touneshende, Thomas, of Winton, lalborer 3
4927066 2334895 2334895 defendant Milys Thomas husbandman 623575 623575 Milys, Thomas, of Wutton, husbandman 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 14.81ms