From 55511cca09a025b93edf512b0e015aa11c9d4c48 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Mon, 26 Aug 2024 19:30:43 +0200 Subject: [PATCH] Review suggestions --- vignettes/data-resource.Rmd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vignettes/data-resource.Rmd b/vignettes/data-resource.Rmd index 43ea7d1e..4fc9e5d2 100644 --- a/vignettes/data-resource.Rmd +++ b/vignettes/data-resource.Rmd @@ -69,7 +69,7 @@ Note that you can pipe most functions (see `vignette("data-package")`). ### Write -`write_package()` writes a package to disk as a `datapackage.json` file. This file includes the metadata of all the resources. `write_package()` also writes resource _data_ to CSV files, unless the referred data are referred to be URL or inline. See the function documentation for details. +`write_package()` writes a package to disk as a `datapackage.json` file. This file includes the metadata of all the resources. `write_package()` also writes resource data to CSV files, unless the referred data are referred to be URL or inline. See the function documentation for details. ## Properties implementation @@ -121,7 +121,7 @@ str(package$resources[[3]]$data) read_resource(package, "media") ``` -`add_resource()` (temporarily) adds the provided data frame to `data`: +`add_resource()` adds the provided data frame to `data`: ```{r} df <- data.frame("col_1" = c(1, 2), "col_2" = c("a", "b")) @@ -145,7 +145,7 @@ package$resources[[4]]$data ### dialect -[`dialect`](https://specs.frictionlessdata.io/data-resource/#dialect) is used by `read_resource()` to parse a tabular data file. It can either be a JSON object or a path or URL referencing a JSON object. See `vignette("table-dialect")` for details. +[`dialect`](https://specs.frictionlessdata.io/tabular-data-resource/#csv-dialect) is used by `read_resource()` to parse a tabular data file. It can either be a JSON object or a path or URL referencing a JSON object. See `vignette("table-dialect")` for details. ### title