So I have a list of 1350 IDs from the RePEc database that look like this:
repec_id <- c("RePEc:bep:uomlwp:umichlwps-1003", "RePEc:hal:wpaper:hal-02187883", "RePEc:hal:journl:hal-02184200")
Each ID matches to a webpage. you get to it by removing the data before the first colon (as well as the first colon itself) then replacing the following colons with "/"
and adding ".html"
at the end. I want to get a list of these websites. In other words, I want my output to look like this:
links <- c("https://ideas.repec.org/p/bep/uomlwp/umichlwps-1003.html", "https://ideas.repec.org/p/hal/wpaper/hal-02187883.html", "https://ideas.repec.org/p/hal/journl/hal-02184200.html")
Does anyone know how I do this? I'm a bit lost. Thank you in advance for your help!