Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idea - add unique id (date?) to "Further information" link text #234

Open
zackarno opened this issue Sep 10, 2024 · 1 comment
Open

idea - add unique id (date?) to "Further information" link text #234

zackarno opened this issue Sep 10, 2024 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@zackarno
Copy link
Collaborator

not sure how easy or hard this would be, but screenshot below shows the "Further Information" section from recent Viet Nam email:

image

in this example it would be useful (and easiesh?) to add the dates of the report to the link text (i.e Viet Nam Disaster Management (VDMA): 07/9/2024).

However, I'm not sure how if it would be straight forward to implement in a generalizable/scalable fashion?

@zackarno zackarno added the enhancement New feature or request label Sep 10, 2024
@caldwellst
Copy link
Contributor

So you mean search through the URL for dates of different formats? I think that is a nice idea to supplement the name. Might be worth exploration to see how often that happens in the link and if the dates are ever already included in the name that we use from the JRC (so we don't duplicate). I don't think would be too difficult to scale.

I wonder if there is something in {lubridate} or related packages to extract dates of any format from within a string? Basically would want to extract any potential dates, check that they are within a reasonable tie frame from the date of the event, and if so, use them.

@caldwellst caldwellst added the question Further information is requested label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants