home / cp40x

names

6 rows where case_id = 2176273

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4436871 2176273 2176273 plaintiff Syward Robert (legal representative) 640530 640530 Syward, Robert, of East Claydon, parson, executors of 0
4436872 2176273 2176273 plaintiff Syward Ralph   756343 756343 (Syward, Ralph, of Great Lynford 1
4436873 2176273 2176273 plaintiff Syward Philip servant of Robert Syward   Syward, Philip, servant of Robert Syward 2
4436874 2176273 2176273 defendant Lomb William (legal representative) 586848 586848 Lomb, William, of Northampton, skinner, executors of 0
4436875 2176273 2176273 defendant Mareschal Mathew le   586848 586848 (Mareschal, Mathew le, of Northampton 1
4436876 2176273 2176273 defendant Byllyng Thomas de     Byllyng, Thomas de 2

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.899ms