Skip to contents

Read a Data Package

Read a datapackage.json file and its associated Data Resources from path or URL.

read_package()
Read a Data Package descriptor file (datapackage.json)
read_resource()
Read data from a Data Resource into a tibble data frame
resources()
List Data Resources

Create and edit a Data Package

Create and edit a Data Package, its associated Data Resources and Table Schemas.

create_package()
Create a Data Package
create_schema()
Create a Table Schema for a data frame
add_resource()
Add a Data Resource
remove_resource()
Remove a Data Resource

Write a Data Package

Write a Data Package and its associated Data Resources to disk.

write_package()
Write a Data Package to disk

Miscellaneous

get_schema()
Get the Table Schema of a Data Resource
print(<datapackage>)
Print a Data Package
check_package()
Check a Data Package object
example_package()
Read the example Data Package