Import and Transpose web Data in R

Dear Colleague;

I thank this message fund you well.

I would like to request your assistance to have an R script that will allow me to import data via a web link below and transpose the imported data and finally save the transposed data to a csv or xlsx file on my hard drive.

the Link: https://unstats.un.org/sdgapi/v1/sdg/Series/Data?seriesCode=SL_DOM_TSPD

Thank you for your help.

Francis D