How to create a custom URL in R

How can I create a custom URL using R ?

For ex :
Date = 2020-08-08

URL = ...&date = Date

I tried to add date as variable in the URl , but it didn't work .

How can I accomplish this ?

Thank you so much

Does this help?

Date = 2020-08-08
Date = as.character(Date)

URL <- paste("...&date",Date)

start_date = as.character("2020-04-01")
end_date = as.character("2020-04-02")

third_url <- ""+start_date+"&coed="+end_date+"&line_color=%234572a7&link_values=false&line_style=solid&mark_type=none&mw=3&lw=2&ost=-99999&oet=99999&mma=0&fml=a&fq=Daily&fam=avg&fgst=lin&fgsnd=2009-06-01&line_index=1&transformation=lin&vintage_date=2020-05-04&revision_date=2020-05-04&nd=1987-05-20"

Here is my code . I want to add start_date after cosd and end_date after coed

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.