home / cp40x

names

6 rows where case_id = 2221768

✎ 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
4568628 2221768 2221768 plaintiff Waldegrave Richard knight   Waldegrave, Richard, knight 0
4568629 2221768 2221768 defendant Lake Walter   770520 770520 Lake, Walter, of Bradefeld Monks 0
4568630 2221768 2221768 defendant Waley John     Waley, John 1
4568631 2221768 2221768 defendant Wyseman Thomas     Wyseman, Thomas 2
4568632 2221768 2221768 defendant Makyn John   589556 589556 Makyn, John, of Dalham 3
4568633 2221768 2221768 defendant Deye Richard     Deye, Richard 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 17.101ms