home / cp40x

names

12 rows where place_id = 800681

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4774831 2288120 2288120 defendant Colett John husbandman 800681 800681 Colett, John, of Little Halghton, husbandman 1
4827332 2304596 2304596 defendant Gyles Thomas husbandman 800681 800681 Gyles, Thomas, of Little Halghton, husbandman 0
5150514 2401288 2401288 defendant Straforth John husbandman 800681 800681 Straforth, John, of Little Halghton, husbandman 0
5150515 2401288 2401288 defendant Higley Thomas husbandman 800681 800681 Higley, Thomas, of Little Halghton, husbandman 1
5169013 2406668 2406668 defendant Straforth John husbandman 800681 800681 Straforth, John, of Little Halghton, husbandman 0
5169014 2406668 2406668 defendant Hogley Thomas husbandman 800681 800681 Hogley, Thomas, of Little Halghton, husbandman 1
5185372 2411468 2411468 defendant Straforth John husbandman 800681 800681 Straforth, John, of Little Halghton, husbandman 0
5185373 2411468 2411468 defendant Hogley Thomas husbandman 800681 800681 Hogley, Thomas, of Little Halghton, husbandman 1
5185375 2411469 2411469 defendant Stratforth John husbandman 800681 800681 Stratforth, John, of Little Halghton, husbandman 0
5185376 2411469 2411469 defendant Hogley Thomas husbandman 800681 800681 Hogley, Thomas, of Little Halghton, husbandman 1
5185382 2411471 2411471 defendant Straforth John husbandman 800681 800681 Straforth, John, of Little Halghton, husbandman 0
5185383 2411471 2411471 defendant Hogley Thomas husbandman 800681 800681 Hogley, Thomas, of Little Halghton, husbandman 1

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 18.072ms