You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there are two "universal" typos in the country variable (probably) across all RStudio CRAN logs: "A1" (A + number one) and "A2" (A + number 2).
For what it's worth, using "2019-10-23" as an example (Wednesdays are usually high traffic days), here's the code I used:
I believe there are two "universal" typos in the country variable (probably) across all RStudio CRAN logs: "A1" (A + number one) and "A2" (A + number 2).
For what it's worth, using "2019-10-23" as an example (Wednesdays are usually high traffic days), here's the code I used:
ymd <- as.Date("2019-10-23")
year <- as.POSIXlt(ymd)$year + 1900
rstudio.url <- "http://cran-logs.rstudio.com/"
url <- paste0(rstudio.url, year, '/', ymd, ".csv.gz")
cran_log <- data.table::fread(url)
sort(unique(cran_log$country))
"A1" and "A2" are the first two elements of the vector. I haven't found any other country codes with numbers mixed in.
The text was updated successfully, but these errors were encountered: