home / cp40x

names

5 rows where case_id = 2497324

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5474398 2497324 2497324 plaintiff Reed John   604697 604697 Reed, John, of Castle Acre 0
5474399 2497324 2497324 defendant Wylly William tanner 586168 586168 Wylly, William, of Skernyng, tanner 0
5474400 2497324 2497324 defendant Sekker John husbandman 891238 891238 Sekker, John, of Gresssenhale, husbandman 1
5474401 2497324 2497324 defendant Ordmore William husbandman 706682 706682 Ordmore, William, of Reynham St Martin, husbandman 2
5474402 2497324 2497324 defendant Wylly Constantine   706682 706682 Wylly, Constantine, of Reynham St Martin, mason 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.806ms