Skip to content

Conversation

@psd
Copy link
Member

@psd psd commented Aug 21, 2024

Spike: needs more work before merging!

Assign and order facts based on a priority value.

Entries, and facts from an entry, are assigned a priority, 1 for facts from the organisation, 2 for facts from elsewhere.

Facts with the highest priority (1) are used for the entry ahead of the lower priority (2).

Depends on a new var/cache/pipeline.sqlite3 database, which can be built from the config by the load-pipeline.py script.

Tested with the conservation-area-collection branch:

https://github.com/digital-land/conservation-area-collection/tree/entity-organisation

psd added 2 commits August 20, 2024 16:17
A sketch of how to use the entity-organisation config to give
facts from the authorititive source for an entity priority
over facts from other sources.

Depends on a new pipeline.sqlite3 database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants