Skip to content

Commit

Permalink
Review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdesmet committed Aug 26, 2024
1 parent e1ba4ec commit 55511cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/data-resource.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"))
Expand All @@ -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

Expand Down

0 comments on commit 55511cc

Please sign in to comment.