Closed lwjohnst86 closed 2 weeks ago
If this function will be used to update a locally saved / cached sample datapackage.json
file (as opposed to being run every time that file viewed, for example), then I also think that it works as a single function. Because it prepares a properties file that includes package and resource properties, so any view...
function can expose the part of the object it needs (without redownloading anything). But yeah, I'm also not sure if I understand the context 100%.
@martonvago related to the conversation during the meeting about frictionless and getting the official schema, I can't find any function within the package that does that: https://framework.frictionlessdata.io/docs/framework/actions.html
The closest seems to be the Package
class: https://framework.frictionlessdata.io/docs/framework/package.html but even then, it doesn't look like it provides the full template, only that it takes a data file and makes a package from it. Which isn't exactly what we want.
@martonvago related to the conversation during the meeting about frictionless and getting the official schema, I can't find any function within the package that does that: https://framework.frictionlessdata.io/docs/framework/actions.html
The closest seems to be the
Package
class: https://framework.frictionlessdata.io/docs/framework/package.html but even then, it doesn't look like it provides the full template, only that it takes a data file and makes a package from it. Which isn't exactly what we want.
Ah okay! Yeah, I was thinking of Package
maybe being able to do it somehow, but then not really
Description
These changes add the diagram for creating the properties template of the official Data Package Spec. I think it's possible to download the full spec from one URL. But maybe this will need two functions, one for the package and one for the resources. Thoughts? Alternatively, I could add a URL or options arg to select which spec to download, the package or the resource.
Reviewer Focus
This PR needs an in-depth review.