Re: [R-sig-Geo] Extract CRU data

2023-01-25 Thread Miluji Sb
That indeed was the most efficient solution. Thank you! On Tue, Jan 24, 2023 at 1:45 PM Barry Rowlingson wrote: > Are you asking if there's a way to automate the download of a list of > links from that page? You could write an R script to get the HTML, then > find all the HTML tags, and then ge

Re: [R-sig-Geo] Extract CRU data

2023-01-24 Thread Grzegorz Sapijaszko
On Tue, 2023-01-24 at 12:13 +0100, Miluji Sb wrote: > Greetings everyone, > > I have a question on extracting country-level data from CRU ( > https://crudata.uea.ac.uk/cru/data/hrg/cru_ts_4.06/crucy.2205251923.v4.06/countries/tmp/ > ). Something like: To get all links/filenames in one table: a

Re: [R-sig-Geo] Extract CRU data

2023-01-24 Thread Barry Rowlingson
Are you asking if there's a way to automate the download of a list of links from that page? You could write an R script to get the HTML, then find all the HTML tags, and then get the URLs in the link addresses, and there's packages for doing this kind of web scraping. But for this kind of thing i