home / cp40x

names

9 rows where case_id = 2412160

✎ 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
5187831 2412160 2412160 plaintiff Heynes Thomas (legal representative)   Heynes, Thomas, executors of 0
5187832 2412160 2412160 plaintiff Heynes William     (Heynes, William 1
5187833 2412160 2412160 plaintiff Pylche Thomas     Pylche, Thomas 2
5187834 2412160 2412160 plaintiff Seman John     Seman, John 3
5187835 2412160 2412160 defendant Merston John butcher 594218 594218 Merston, John, of St Neots, butcher 0
5187836 2412160 2412160 defendant Corbet Henry butcher 594218 594218 Corbet, Henry, of St Neots, butcher 1
5187837 2412160 2412160 defendant Baberham John husbandman 594218 594218 Baberham, John, of St Neots, husbandman 2
5187838 2412160 2412160 defendant Gore John butcher 774517 774517 Gore, John, of Great Paxton, butcher 3
5187839 2412160 2412160 defendant Gore William butcher 774517 774517 Gore, William, of Great Paxton, butcher 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 6.129ms