Displaying 3 results from an estimated 3 matches for "meteoch_1990".
2024 Nov 06
3
Using multiple dat files
...atic indicators.
Question: Is there another solution to import multiple .dat files so that I can select elements from the list, e.g. one specific weather file (example AAR_DailyWeather)?
# Import multiple .dat files weather data
filelist <- list.files(path = "O:/Data-Work/??./Daten_RA-MeteoCH_1990-2021", pattern='*.dat', all.files= T, full.names= T)
W <- lapply(filelist, function(x) read.table(x, header = TRUE, sep = "", colClasses = "numeric", comment.char = ""))
W[[1]]
> dd(data = W[[1]]$Precip, time.scale = W[[1]]$year)
Fehler in W[[1]]$y...
2024 Nov 06
1
Using multiple dat files
...gies, and feel free to ignore without responding.
Best,
Bert
On Wed, Nov 6, 2024 at 10:59?AM Sibylle St?ckli <sibylle.stoeckli at gmx.ch>
wrote:
> Dear Rui
> Dear Bert
>
> Many thanks
>
> Solution
> filelist <- list.files(path =
> "O:/Data-Work/2.../Daten_RA-MeteoCH_1990-2021", pattern='*.dat', all.files=
> T, full.names= T)
> AAR<-read.table(filelist[1])
>
> It seems therefore that there is no other way than read in individually >
> 100 weather tables using read.tables., right? Using file.choose() doesn't
> change the work....
2024 Nov 07
0
Using multiple dat files
?s 18:59 de 06/11/2024, Sibylle St?ckli escreveu:
> Dear Rui
> Dear Bert
> Many thanks
> Solution
> filelist <- list.files(path = "O:/Data-Work/2.../Daten_RA-MeteoCH_1990-2021",
> pattern='*.dat', all.files= T, full.names= T)
> AAR<-read.table(filelist[1])
> It seems therefore that there is no other way than read in individually > 100
> weather tables using read.tables., right? Using file.choose() doesn't change the
> work.
>...