wiki:DataPkgUseCases
Last modified 5 years ago Last modified on 10/15/09 14:01:15

Use cases for datapkg

  1. Install datapkg
  1. Search remote registry/repo for a package
  1. Download package on to local disk and unpack
       $ datapkg get [url|name] [path]
    
    If specifying name (using a Registry) then:
    • get metadata from registry
    • locate the distribution URL
  • Discover at URL: targz/zip file, version controlled repo, URL page with links (ask user which one)
  • download the compressed distribution to temp dir (progress bar)
  • unpack it to destination path Future: maybe need to build/compile data
  1. Explore package

  1. Package a csv file
  1. Register the package to the remote repo.
  1. Upload the package distribution to the remote repo.