• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisione263e2550477845bafc9af3dfb8ae58f8bda0701 (tree)
Time2024-09-26 21:42:02
AuthorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

I added a function to change a date into its url equivalent.

Change Summary

Incremental Difference

diff -r f50e177a80bb -r e263e2550477 R-codes/stat_lib.R
--- a/R-codes/stat_lib.R Thu Sep 26 11:45:13 2024 +0200
+++ b/R-codes/stat_lib.R Thu Sep 26 14:42:02 2024 +0200
@@ -7660,3 +7660,10 @@
76607660 }
76617661
76627662
7663+transform_date_url <- function(date_str) {
7664+ # Replace the slashes with "%2F" and prepend "="
7665+ result <- gsub("/", "%2F", date_str)
7666+ result <- paste0("=", result)
7667+
7668+ return(result)
7669+}