blogdown workflow with data from files

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")
1 Like

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.

1 Like

@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

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.