home / cp40x

names

7 rows where case_id = 2256795

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4671699 2256795 2256795 plaintiff Chapman Richard     Chapman, Richard, on his own account 0
4671700 2256795 2256795 defendant Godyne or Godyve John husbandman 781209 781209 Godyne or Godyve, John, of Wittelesforth Bridge, husbandman 0
4671701 2256795 2256795 defendant Spede John husbandman 612852 612852 Spede, John, of Shelford, husbandman 1
4671702 2256795 2256795 defendant Spede William husbandman 612852 612852 Spede, William, of Shelford, husbandman 2
4671703 2256795 2256795 defendant Bretsale Robert husbandman 781210 781210 Bretsale, Robert, of Berklowe, husbandman 3
4671704 2256795 2256795 defendant Trumpyngton John husbandman 586422 586422 Trumpyngton, John, of Lynton, husbandman 4
4671705 2256795 2256795 defendant Westale Robert   781211 781211 Westale, Robert, of Lynton, husbandamn 5

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