I am trying the below function code, but not sure where i am going wrong, here i am trying to read multiple SAS datasets (5 in number) and create a data frame for each with same name, when i do this I see that the datasets are read and converted to tibble but not the data frame to see in the work environment, the entire data frames gets printed in the form console as lists and tibble (screenshot : where i am showing the last dataset (5th) in the form of a tibble)
calling the vector dats with datasets names
I am using the haven package to read the sas datasets
I think two things are going on - you want to save the mapped object to be something and probably use map_df instead of map if you want to stack the data rather than put it in a list.
Thank you @StatSteph , i wanted to have separate data frames , instead of stacked data frame. thank you for your help. this is helpful when I want to stack the data