frictionless 2.0.0

We released a new version of our R package frictionless.

• Peter Desmet

Image by Tienko Dima

This work was funded by the NLnet foundation as part of the Frictionless Libraries project. See the announcement on the Open Knowledge Foundation blog.

We just released a new major version (2.0.0) of our R package frictionless.

With frictionless you can read and write Frictionless Data Packages. A Data Package is a simple container format and standard to describe and package a collection of (tabular) data. It is typically used to publish FAIR and open datasets. We use it extensively for publishing datasets.

What has changed?

frictionless now supports Data Packages using the v2 specification, while maintaining support for those using v1. When creating a package, resource or schema, it uses the v2 specification.

  • frictionless no longer relies on v1 properties deprecated in v2, meaning all functions support both versions. They always return a package, resource and schema in the same version as provided.
  • create_package(), add_resource() and create_schema() create a v2 package, resource and schema respectively. This can be a breaking change for some workflows! Also note that this can lead to mixed versions (e.g. a v1 package with a v2 resource).
  • upgrade_package() can be used to upgrade a package, its resources and verbose schemas from v1 to v2 (harmonizing mixed versions).

For an overview of all the changes, see the CHANGELOG. Does your workflow rely on the v1 specification? Use frictionless 1.3.0.

How to install frictionless?

The package is available on CRAN and can be installed with:

install.packages("frictionless")

For more information, see the package documentation. Found a bug? Please report an issue.