Rui,
Many thanks for your reply and coding, I was not
expecting so much work was required. It worked perfectly.
The only thing I needed to do, was create a Temp file in the Documents folder.
Thanks again,
Bob
At 03:52 PM 7/26/2023, Rui Barradas wrote:
Ãs 23:06 de 25/07/2023, Bob Green
Às 23:06 de 25/07/2023, Bob Green escreveu:
Hello,
I am seeking advice as to how I can download the 833 files from this
site:"http://home.brisnet.org.au/~bgreen/Data/;
I want to be able to download them to perform a textual analysis.
If the 833 files, which are in a Directory with two
You cannot read files using name patterns. You can use list.files with patterns
on your local filesystems, and you can use RCurl or httr contributed packages
to parse out the web listing of files returned by the web server. See the
example in ?RCurl. Then you can download the individual files
Where is readtext() from?
Some combination of scraping
http://home.brisnet.org.au/~bgreen/Data/Hanson1/
and
http://home.brisnet.org.au/~bgreen/Data/Hanson2/
to recover the required file names:
library(rvest)
read_html("http://home.brisnet.org.au/~bgreen/Data/Hanson1/;) |>
Hello,
I am seeking advice as to how I can download the 833 files from this
site:"http://home.brisnet.org.au/~bgreen/Data/;
I want to be able to download them to perform a textual analysis.
If the 833 files, which are in a Directory with two subfolders were
on my computer I could read them
5 matches
Mail list logo