ucsdlib / damsmanager

DAMS Manager
Other
3 stars 1 forks source link

Add more component specificity to RDCP Download report #362

Closed hjsyoo closed 4 years ago

hjsyoo commented 5 years ago

Descriptive summary

In https://library.ucsd.edu/damsmanager/statsRdcpDownload.do, downloads are currently reported for each component, by component title. There are a non-trivial number of objects, however, that have more than one child component with the same title. For example, https://library.ucsd.edu/dc/object/bb7920789g has 12 "Readme", 10 "Raw data" and 10 "Image Analysis" child components. In the download report, we cannot distinguish between these components. One way to help identify the exact component is to include in the component column the parent component title, since the combined names, [ParentComponentTitle]:[ChildComponentTitle] will be unique within each object. So for the above example, Component 2 would be titled "Code: Readme", followed by "Code: MATLAB scripts", and so on.

Related work

Link to related tickets or prior related work here.

jessicahilt commented 5 years ago

Can you take a look at this and see what you think as far as level of effort?

lsitu commented 5 years ago

@jessicahilt Sure. I think it's doable. I'll see how to build the component title.

lsitu commented 4 years ago

@mcritchlow I've added PR https://github.com/ucsdlib/damsmanager/pull/370 for it. Thanks.

gamontoya commented 4 years ago

@hjsyoo @abbypenn93 Are you able to confirm that this is fixed?

hjsyoo commented 4 years ago

Sorry, I don't see a difference. In https://library.ucsd.edu/dc/object/bb7920789g, there are multiple components called "Readme", but the DAMS report still doesn't disambiguate between them: image

lsitu commented 4 years ago

@hjsyoo I think the fix hasn't been deployed yet. I'll let you know once it's ready for you to text. Thanks.

hjsyoo commented 4 years ago

Looks good on prod. Thanks, @lsitu .