Displaying 2 results from an estimated 2 matches for "urltext".
Did you mean:
sqltext
2020 Oct 10
1
which() vs. just logical selection in df
...ct call more
efficient than just using logical selection in a dataframe? Doesn't
which() technically add another conversion/function call on top of the
logical selection? Here is a reproducible example with a slight
difference in timing.
# Surrogate data - the timing here isn't interesting
urltext <- paste("https://drive.google.com/",
"uc?id=1AZ-s1EgZXs4M_XF3YYEaKjjMMvRQ7",
"-h8&export=download", sep="")
download.file(url=urltext, destfile="tempfile.csv") # download file first
dat <- read.csv("...
2020 Oct 14
2
which() vs. just logical selection in df
...a dataframe? Doesn't
> > which() technically add another conversion/function call on top of the
> > logical selection? Here is a reproducible example with a slight
> > difference in timing.
> >
> > # Surrogate data - the timing here isn't interesting
> > urltext <- paste("https://drive.google.com/",
> > "uc?id=1AZ-s1EgZXs4M_XF3YYEaKjjMMvRQ7",
> > "-h8&export=download", sep="")
> > download.file(url=urltext, destfile="tempfile.csv") # download file f...