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

external data package #292

Open
kostrzewa opened this issue Jul 28, 2020 · 6 comments · May be fixed by #295
Open

external data package #292

kostrzewa opened this issue Jul 28, 2020 · 6 comments · May be fixed by #295

Comments

@kostrzewa
Copy link
Member

In order to include some more example data in hadron, especially loops and/or gradient flow files, it will be necessary to externalise this due to the CRAN size limitations (https://thecoatlessprofessor.com/programming/r/size-and-limitations-of-packages-on-cran/)

We've already started something along these lines in https://github.com/HISKP-LQCD/hadron_example_data, but we clearly need a mechanism in hadron to load this data from github (or elsewhere).

My example data set for the gradient flow observables, for example, is 3.2 MB by itself...

@kostrzewa
Copy link
Member Author

@kostrzewa
Copy link
Member Author

anyone feeling inspired to do this?

@martin-ueding
Copy link
Contributor

I'll take a look into it.

@urbach
Copy link
Member

urbach commented Aug 3, 2020 via email

@martin-ueding
Copy link
Contributor

As it is set up now, it is not much work to incrementally add data.

How would we deal with lots of small files in the webserver approach? Would be package them as ZIP files beforehand? The advantage would be that the users could just download the data they want, not having to install all sample data.

In this case one could just make a GitHub repository and directly publish the master git GitHub Pages. I am not sure about automatic directory listings, perhaps we would need to create a table of contents ourselves, which is easy to automate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants