frictionless-r icon indicating copy to clipboard operation
frictionless-r copied to clipboard

R package to read and write Frictionless Data Packages

Results 78 frictionless-r issues
Sort by recently updated
recently updated
newest added

In `read_resource()` we use the `%||` operator, called the "default" or "null-coalescing" operator. It is used for the first time in [L224](https://github.com/frictionlessdata/frictionless-r/blob/main/R/read_resource.R#L224). This operator was first introduced in the rlang...

complexity:low

Null values from inline data in datapackage.json are seen as empty objects in r. So in this case `read_resource()` gives the following error: ```r Error in (function (..., deparse.level =...

enhancement
function:read_resource

Fix #238. Blocked until a new version of `evaluate` is available.

blocked

Context: #235 We've decided to up the minimum dependency to R4.0.0, so we can use native pipes and to follow the tidyverse policy: https://www.tidyverse.org/blog/2019/04/r-version-support/ In the discussion I linked to...

`read_resource()` is very long. It could benefit from a more modular approach. ### ✅ Get resource, includes check_package() https://github.com/frictionlessdata/frictionless-r/blob/72b86941a15f84b1ca1416e2c4d48ee73d3fd3ff/R/read_resource.R#L202-L204 - [x] Already a helper function ### ✅ Get paths, schema...

enhancement
function:read_resource
refactor
complexity:high

Two lines of `purrr`, I can refactor if this is too compact.

The `read_resource()` [documentation](https://docs.ropensci.org/frictionless/reference/read_resource.html) is very long, because it lists how all Data Resource properties are used. Cf. https://docs.ropensci.org/cffr/articles/crosswalk.html it might be good to move this info to an article and...

documentation
enhancement
function:read_resource
complexity:low

## Package version | v1 | v2 --- | --- | --- [$schema](https://datapackage.org/overview/changelog/#packageschema-new) | assumed v1 if undefined | used to detect v2 profile | ignored | ignored [version](https://datapackage.org/overview/changelog/#packageversion-updated) |...

documentation
datapackage:v2

See #224, cf. https://inbo.github.io/camtrapdp/reference/version.html - [ ] Is public - [ ] Works on: - [ ] Package (list) - [ ] Resource (list) - [ ] Dialect (list) -...

enhancement
datapackage:v2
complexity:high

`add_resource()` has a `delim` parameter, but it only serves to indicate the delimiter of an existing file. It does not influence how dataframes are written (always csv). This should be...

documentation
function:add/remove
complexity:low