
This functions converts a given urlName so that from data from git-hub can be read correctly that tabular data. Thus, this will remove '/blob/' and change starting characters to 'raw.githubusercontent.com'
gitDataUrl(
urlName,
replTxt = NULL,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
corrected urlName
(charachter) main url-address
(NULL or matrix) adjust/ custom-modify search- and replacement items; should be matrix with 2 columns, the 1st colimn entries will be used as 'search-for' and the 2nd as 'replace by' fro each row.
(logical) suppress messages
(logical) additional messages for debugging
(character) allow easier tracking of messages produced
sub
;
url1 <- paste0("https://github.com/bigbio/proteomics-metadata-standard/blob/",
"master/annotated-projects/PXD001819/PXD001819.sdrf.tsv")
gitDataUrl(url1)
Run the code above in your browser using DataLab