Skip to content

Commit

Permalink
Indicate warn
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdesmet committed Aug 23, 2024
1 parent e38d56e commit 6f1c61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vignettes/table-schema.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ package <- add_resource(

### type and format

[`type`](https://specs.frictionlessdata.io/table-schema/#types-and-formats) and (for some types) [`format`](https://specs.frictionlessdata.io/table-schema/#types-and-formats) is used by `read_resource()` to understand the column type. The vector of types is passed as `col_types` to `readr::read_delim()`, which returns parsing issues if it encounters them. `create_schema()` uses the data frame column type to set `type`. See [Field types implementation](#field-types-implementation) for details.
[`type`](https://specs.frictionlessdata.io/table-schema/#types-and-formats) and (for some types) [`format`](https://specs.frictionlessdata.io/table-schema/#types-and-formats) is used by `read_resource()` to understand the column type. The vector of types is passed as `col_types` to `readr::read_delim()`, which warns if there are parsing issues (inspect with `problems()`). `create_schema()` uses the data frame column type to set `type`. See [Field types implementation](#field-types-implementation) for details.

`read_resource()` interprets `type` as follows:

Expand Down

0 comments on commit 6f1c61b

Please sign in to comment.