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

Update in hubUtils:::open_hub_dataset() #73

Closed
LucieContamin opened this issue Jun 8, 2023 · 4 comments · Fixed by #74
Closed

Update in hubUtils:::open_hub_dataset() #73

LucieContamin opened this issue Jun 8, 2023 · 4 comments · Fixed by #74

Comments

@LucieContamin
Copy link
Contributor

To read csv files, it seems to be necessary to have the model_id information in the input "schema" (output of create_hub_schema()

@annakrystalli
Copy link
Collaborator

Using arrow version 12.0.0

@LucieContamin
Copy link
Contributor Author

@annakrystalli
Copy link
Collaborator

Hey @LucieContamin

I think this is fixed (it works on my machine! 🤷‍♀️😂) but let's make sure it works on your machine too 😜

Can you try:

remotes::install_github("Infectious-Disease-Modeling-Hubs/hubUtils",
                       dependencies = TRUE, ref = "val-hub-config")

Restart R

con <- connect_hub("path/to/your/hub")
con
con %>% filter(origin_date == "2021-03-07", output_type_id == 0.025) %>% collect()

to see if everything works?

@annakrystalli
Copy link
Collaborator

Works now.

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