Skip to content

chron_data causes duplicates that are not in the database #6

@MartinHinz

Description

@MartinHinz

Try the following standard query from the API page:

chron_data(labnr = "AAR-1847")

The result is currently 7 observations, but there are only (at least) 4 duplicates in the database. They also come out correctly via API:

[{"measurement":{"id":21924,"labnr":"AAR-1847","bp":4780,"std":100,"cal_bp":null,"cal_std":null,"delta_c13":-27.3,"source_database":"","lab_name":"","material":"food residue","species":null,"feature":null,"feature_type":"","site":"Øgårde 4","country":"DK","lat":"55.5937","lng":"11.543","site_type":"hoard","periods":[{"period":"Neolithic"},{"period":"Trichterbecher-North Group"}],"typochronological_units":[{"typochronological_unit":"Neolithic"},{"typochronological_unit":"Trichterbecher-North Group"}],"ecochronological_units":[],"reference":[{"reference":"Koch 1998, 307."},{"reference":"CalPal2022"}]}},

{"measurement":{"id":85745,"labnr":"AAR-1847","bp":4780,"std":100,"cal_bp":null,"cal_std":null,"delta_c13":null,"source_database":"","lab_name":"","material":"food residue","species":null,"feature":null,"feature_type":"","site":"Øgårde 4","country":"DK","lat":"55.5937","lng":"11.543","site_type":"hoard","periods":[{"period":"MN"},{"period":"Bernburg"}],"typochronological_units":[{"typochronological_unit":"MN"},{"typochronological_unit":"Bernburg"}],"ecochronological_units":[],"reference":[{"reference":"EUROEVOL"}]}},

{"measurement":{"id":88925,"labnr":"AAR-1847","bp":4780,"std":100,"cal_bp":null,"cal_std":null,"delta_c13":-27.3,"source_database":"","lab_name":"","material":"food remains","species":"\"food crust\".","feature":"Moorfund; \"food crust on funnel beaker Type III\".","feature_type":"","site":"Øgårde 4","country":"DK","lat":"55.5937","lng":"11.543","site_type":"hoard","periods":[{"period":"Bernburg"}],"typochronological_units":[{"typochronological_unit":"Bernburg"}],"ecochronological_units":[],"reference":[{"reference":"Koch 1998, 307; Aud 1995, 319"},{"reference":"RADON"}]}},

{"measurement":{"id":177143,"labnr":"AAR-1847","bp":4780,"std":100,"cal_bp":null,"cal_std":null,"delta_c13":-27.3,"source_database":"","lab_name":"","material":"charcoal","species":null,"feature":null,"feature_type":"","site":"Øgårde 4","country":"DK","lat":"55.5937","lng":"11.543","site_type":"hoard","periods":[],"typochronological_units":[],"ecochronological_units":[],"reference":[{"reference":"Koch 1998 307."},{"reference":"p3k14c"}]}}]

The duplicates are created during processing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions