I recently started using the blogdown package in R. In my blog I often use some data from .csv files.
Where do you keep the data files you use for your blog?
Should it be in content/ or content/post/ or should it be somewhere else?
I recently started using the blogdown package in R. In my blog I often use some data from .csv files.
Where do you keep the data files you use for your blog?
Should it be in content/ or content/post/ or should it be somewhere else?
Content is rendered from the post
directory, so I prefer to have a data
subdirectory there for ease of reference, as in
my_df <- read.csv("data/my_data.csv")
Thank you so much for the answer. I'll do that then. I wasn't sure if creating a subdirectory in /post whould cause any trouble.
@vidaringa you could be interesred in rbind initiative
There is a lot of blogdown website real example to look into and get some best practices
hope it helps