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

How to avoid downloading the CSV file? #2427

Open
nicfab opened this issue Sep 15, 2024 · 1 comment
Open

How to avoid downloading the CSV file? #2427

nicfab opened this issue Sep 15, 2024 · 1 comment

Comments

@nicfab
Copy link

nicfab commented Sep 15, 2024

I set allow_download off both in setting.jsonamd in metadata.json or metadata.yml as follows:

setting.json

{
    "default_facet_size": 30,
    "default_page_size": 200,
    "facet_suggest_time_limit_ms": 50,
    "facet_time_limit_ms": 1000,
    "max_returned_rows": 1000,
    "sql_time_limit_ms": 1000,
    "truncate_cells_html": 0,
    "allow_download": 0
}

metadata.json

{
    "title": "Some text",
    "description": "Description",
    "license": "ODbL",
    "license_url": "https://opendatacommons.org/licenses/odbl/",
    "source": "Source",
    "source_url": "https://sourceurl",
    "allow_sql": false,
    "allow_download": false
}

The settings allow_sql works.

I aim to avoid downloading both the SQL and CSV files.

@nicfab
Copy link
Author

nicfab commented Sep 19, 2024

To clarify my previous post, I know that downloading the SQL and CSV files is different.
Currently, it's possible to avoid downloading the SQL.
I would also like to avoid downloading the CSV file, but I think it's not possible so far.
Is there any way to avoid downloading also the CSV file?

@nicfab nicfab changed the title Setting allow_download off doesn't work How to avoid downloading the CSV file? Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant