Skip to content

Commit

Permalink
Vignette: replace 'format' by 'extension'
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Onkelinx <thierry.onkelinx@inbo.be>
  • Loading branch information
florisvdh authored and ThierryO committed Aug 20, 2018
1 parent d20537f commit 04b8ca0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/data-repository.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ data_repo <- init(path, project = "test")

### Storing data

Use `write_delim_git()` to store a `data.frame` into the data repository. The function will separate the data and the metadata. The data is stored as a headerless, unquoted tab delimited file with ".tsv" extension and UTF-8 encoding. The metadata is stored in YAML format with ".yml" format. Therefore any extension given to the `file` will be stripped (with a warning).
Use `write_delim_git()` to store a `data.frame` into the data repository. The function will separate the data and the metadata. The data is stored as a headerless, unquoted tab delimited file with ".tsv" extension and UTF-8 encoding. The metadata is stored in YAML format with ".yml" extension. Therefore any extension given to the `file` will be stripped (with a warning).

The function will do a lot more preprocessing to the data in order to keep the file and the diff as small as possible. That is the reason why the data is stored headerless and unquoted.

Expand Down

0 comments on commit 04b8ca0

Please sign in to comment.