add_resource()
now setsformat
,mediatype
andencoding
for added CSV file(s) (#78).add_resource()
now supports addingschema
via path or URL.write_package()
now supports added data to be gzip compressed before being written to disk (#98).read_resource()
will now warn rather than error on unknown encoding (#86).package
objects no longer have or require the custom attributeresource_names
, use new functionresources()
instead (#97).package
objects no longer have or require the custom attributedatapackage
, making it easier to edit them as lists (with e.g.append()
).
add_resource()
now supports adding CSV file(s) directly as a resource. This skips reading/handling by R and gives users control overpath
(#74).- CSV files in a remotely read package (like
example_package
) are now downloaded when writing withwrite_package()
, rather than being skipped. This is more consistent with locally read packages. The behaviour for resources with apath
containing URLs (only) and resources withdata
remains the same (no files are written). The write behaviour is better explained in the documentation (#77). write_package()
now silently returns the output rather than inputpackage
.create_package()
will set"profile" = "tabular-data-package"
since packages created by frictionless meet those requirements (#81).create_schema()
interprets empty columns asstring
notboolean
(#79).read_package()
can now read from adatapackage.yaml
file.read_resource()
now accepts YAML Table Schemas and CSV dialects.add_resource()
/create_schema()
'sdf
parameter is renamed todata
.example_package
'sobservations
resource now has URLs aspath
to serve as an example for that.
- Add vignette with overview of functionality (#60).
- Prepare frictionless for rOpenSci submission.