I have a simple data-table that has a column of record_id numbers. I would like to have an additional column added on that creates a url with the record_id within the url.
I tried using the library(urltools) package, but could not figure out how to pass the record_id for specific rows. The url is also a bit complicated by the fact that the value to be changed is within the url.
https://website/DataEntry/index.php?pid=27716&id=[this is where record_id needs to be]&page=something&event_id=348187&instance=1
I was thinking of doing something like mutate, but couldn't figure out what would come after the = sign.