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

R package to read and write Frictionless Data Packages

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

Zenodo now offers Data Package as an export format for the metadata (e.g. https://zenodo.org/records/10054230/export/datapackage). It includes the deposit metadata (contributors, license, etc.) and all files as resources. These resources are...

enhancement
function:read_package

For the etn R package, it would be useful to have a function that takes a **dataframe + schema**, and casts the columns of that dataframe to the types defined...

function:add/remove

We want `resource()` to be a public accessor function (see #283). That function currently makes a number of checks, including whether the `path` has an accessible file: https://github.com/frictionlessdata/frictionless-r/blob/34a2d018cd2b16e43f4dc09402270c4a14254751/R/get_resource.R#L33-L39 We might...

For developers, it would be useful if the `resource()` function (previously `get_resource()`) was a public function to access a resource (list) by its name.

There is a discrepancy in how single-element arrays are written and read back into the datapackage.json file. Specifically, single-element arrays are being converted into strings when the package is read...

function:write_package

When reading a non-tabular resource, frictionless-r returns an error: ``` r library(frictionless) x Error in `get_schema()`: #> ! Resource "traffic-signs-hansbeke" must have a profile property with #> value "tabular-data-resource". ```...

function:read_resource
complexity:low