Giter VIP home page Giter VIP logo

Comments (4)

ghukill avatar ghukill commented on August 30, 2024

Consider this situation from a PublishedRecords view, where the URL for access is split between two parsed fields:

mods_location_url_@usage_primary (38,269)
mods_location_url_@usage_primary_@access_object_in_context (1,422)

The 1,422 are from Western, and parse slightly different. Would it make sense to allow for multiple field mapping? n:1?

from combine.

ghukill avatar ghukill commented on August 30, 2024

Some experimental progress on this:

  • new DPLAJobMap model
    • with default None values for a handful of useful fields from here
  • indexed fields table identifies mappings, shows in table
  • Record page identifiers mappings, shows mapped DPLA fields at top (including thumbnail)

Next steps:

  • UI for mapping fields
    • dropdown in indexed fields table from Job details?
    • associate at the field details level, one-by-one?
  • for sanity's sake, will need to be able to save mappings
    • current DPLAJobMap instances are associated with job, but when hypothetically selecting a saved mapping, could select a previously used one? do they need a name?

Selecting mappings from previous jobs solves some problems, like how to propagate from job-to-job in a natural harvest --> transform --> merge (maybe) --> publish workflow. But, because they are linked to job, you run the risk of it disappearing if you delete that job.

from combine.

ghukill avatar ghukill commented on August 30, 2024

After some conversations, the point was made that it might make sense to "pin" this DPLA mapping to the transformation, and not the Job.

Pros

  • would persist if jobs deleted
  • after a transform, mappings would already be in place (very nice)
  • could tweak mapping from within a job (field-by-field), which would save to the more global mapping

Cons

  • what about jobs that are not transforms? would selecting a mapping from a transform be awkward? is that, in fact, pointing at some other underlying issue?
  • if mapping includes fields that are not present for a job, but were then mapped from a job on-the-fly, the user would unwittingly be removing a mapping they could not see

from combine.

ghukill avatar ghukill commented on August 30, 2024

For the time being, leaving "pinned" to Job. Might revisit when looking into actual DPLA mapping with Ingestion3 code.

from combine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.