You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
506B

  1. ```{r libs}
  2. library(tidyverse)
  3. #library(readxl)
  4. #library(haven)
  5. #library(rvest)
  6. #library(jsonlite)
  7. ```
  8. # Import
  9. This is where you would import all of your data, from every source needed (flat files, excel files, database queries, etc.).
  10. ```{r import}
  11. read_ ("Data/Raw/") -> data
  12. ```
  13. All data should undergo a cursory check (are the types correctly attributed for example?), and be saved as-is in a flat file format (preferably csv).
  14. ```{r export}
  15. data %>%
  16. write.csv("Data/.csv", row.names = F)
  17. ```