home / cp40x

names

6 rows where place_id = 810661

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4033784 2036732 2036732 defendant Tomson Nicholas   810661 810661 Tomson, Nicholas, of North Lynne, shepherd 1
4839014 2308132 2308132 plaintiff Gybon Stephen   810661 810661 Gybon, Stephen, of North Lynne 0
5012849 2360590 2360590 defendant Pierpount Roger gent 810661 810661 (Pierpount, Roger, of North Lynne, gent 1
5285436 2440763 2440763 defendant Jelyan William husbandman 810661 810661 Jelyan, William, of North Lynne, husbandman 2
5285438 2440763 2440763 defendant Whyte William husbadman 810661 810661 Whyte, William, of North Lynne, husbadman 4
5303023 2445893 2445893 defendant Whyte Richard husbandman 810661 810661 Whyte, Richard, of North Lynne, 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 16.494ms