Skip to content

Commit

Permalink
Merged origin/main into main
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Aug 31, 2023
2 parents 369d0f1 + fc55cda commit b962bdb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vignettes/customize-pins-metadata.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,10 @@ pin_read_factor_json <- function(board, name, version = NULL, hash = NULL, ...)
board %>% pin_read_factor_json("letters-as-json")
```

For an example of how this approach is used in a real project, look at how [the vetiver package wraps these functions to write and read model binaries as pins](https://github.com/rstudio/vetiver-r/blob/main/R/pin-read-write.R).
## Examples of using consistent metadata

How are these approaches used in real projects?

- The vetiver package wraps pins functions [to write and read model binaries together with their metadata, including an renv lockfile](https://github.com/rstudio/vetiver-r/blob/main/R/pin-read-write.R).
- You can record version control information such as Git commit and SHA as pin metadata.
- You can create data lineage or data governance metadata appropriate to your use case.

0 comments on commit b962bdb

Please sign in to comment.