This is the second function to use to create a new data package. It is
used to fill in the details in the datapackage.json file by using the
properties argument which must be a JSON object. The properties
argument must follow the Frictionless Data specification. To get a JSON
object that follows the correct specification use
view_package_properties_template(). Use path_properties() to provide
the correct path location. Outputs a JSON object only. Use
write_package_properties() to save back to the datapackage.json
file.
From the core functions post: