home / cp40x

names

6 rows where case_id = 2449583

✎ 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
5315130 2449583 2449583 plaintiff Clerk Thomas     Clerk, Thomas 0
5315131 2449583 2449583 plaintiff Hoo John     Hoo, John 1
5315132 2449583 2449583 defendant Montyng John husbandman 586130 586130 Montyng, John, of Hoo, husbandman 0
5315133 2449583 2449583 defendant Montyng John (legal representative) 591136 591136 Montyng, John, of Mateshalebergh, executors of 1
5315134 2449583 2449583 defendant Bryghtmer Peter husbandman 586130 586130 (Bryghtmer, Peter, of Hoo, husbandman 2
5315135 2449583 2449583 defendant Mowetyng Robert husbandman 586130 586130 Mowetyng, Robert, of Hoo, 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.846ms