phileas-condemine / carto_indicateurs

Une proposition d'application Shiny pour permettre l'exploration des indicateurs en Santé
https://drees.shinyapps.io/Cartographie_des_indicateurs/
4 stars 0 forks source link

use shiny URL ? Use with parameters => tags & keywords #18

Closed phileas-condemine closed 5 years ago

phileas-condemine commented 5 years ago

https://shiny.rstudio.com/reference/shiny/0.14/parseQueryString.html ? parseQueryString(str, nested = FALSE)

phileas-condemine commented 5 years ago

create URL with params for words & tags + parse URL params to updateSelectizeInput tags & keywords b63d929 Potential risk : if words or tags order changes, the links will break, this seems very unstable if new indicators are to be added. Idea : hash words => get unique ID

phileas-condemine commented 5 years ago

add words hashing with MD5 + substr(1,7) to reduce risk of instability when adding new words or changing their order. Though adding new tags might create issues. 4782776