The overall goal is to create a continuous data set from weekly data. I have used the following code and it recognizes that there are 14 files in the directory, but only reads 9 into a data frame. I know that the limit for data frames is much higher than what I have, so I don't understand why it would stop adding to the data frame at that point.
library(tidyverse) library(purrr) library(ggplot2) library(plotly) knitr::opts_chunk$set(warning = FALSE, message = FALSE)
FILES <- list.files("C:\\Users\\krist\\Documents\\TEST",pattern = "csv$",full.names = TRUE) AllDat <- map_dfr(FILES, read.csv) weeks <- length(FILES) + 3
There is additional code to produce plots etc but that works in the way that I expected so I assume it will be irrelevant.