Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get: new command for getting tabular data from various sources #2263

Open
jqnatividad opened this issue Oct 31, 2024 · 0 comments
Open

get: new command for getting tabular data from various sources #2263

jqnatividad opened this issue Oct 31, 2024 · 0 comments
Labels
CKAN interoperability with CKAN Data Management System datapusher+ for Datapusher+ enhancement New feature or request. Once marked with this label, its in the backlog.

Comments

@jqnatividad
Copy link
Owner

jqnatividad commented Oct 31, 2024

Now that qsv has a separate lookup module (#2262), create a get command that can retrieve tabular data from various sources:

  • local filesystem
  • URL (http, https, sftp and dathere schemes supported)
    dathere schema is a special scheme that autoresolves to either a CKAN or a dathere host, based on the dathere URL
  • cloud storage (AWS S3, Azure Blob Storage and Google Cloud Storage via polars - https://docs.pola.rs/user-guide/io/cloud-storage/)
  • and CKAN

It will be backed by a diskcache using https://crates.io/crates/cached (already heavily used by fetch and geocode commands) and will use https://docs.rs/http-cache-reqwest/latest/http_cache_reqwest/ as well to make it even more efficient in fetching remote data (using http caching semantics, e.g. etag, cache keywords in response header, etc.)

The command can be used to efficiently retrieve reference data; to seed the caches for luau (lookup tables), validate JSONschema dynamicEnum validation; and to have a more efficient resource fetcher for DataPusher+ (should greatly improve harvesting throughput).

cc @tino097

@jqnatividad jqnatividad added enhancement New feature or request. Once marked with this label, its in the backlog. CKAN interoperability with CKAN Data Management System datapusher+ for Datapusher+ labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CKAN interoperability with CKAN Data Management System datapusher+ for Datapusher+ enhancement New feature or request. Once marked with this label, its in the backlog.
Projects
None yet
Development

No branches or pull requests

1 participant