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

Fetching metadata with query and start_index can lead to duplicated records #37

Open
pvanheus opened this issue Nov 17, 2022 · 0 comments

Comments

@pvanheus
Copy link

This seems to be on the GISAID side, but here is an illustration:

> chunk <- query(
    credentials,
    location = "Africa / ...",
    order_by = "submission_date",
    start_index = 27000,
    nrows = 1000
)

> nrow(chunk)
[1] 1000
> chunk$accession_id[duplicated(chunk$accession_id)]
 [1] "EPI_ISL_2911581" "EPI_ISL_2941558" "EPI_ISL_2941560" "EPI_ISL_2941562" "EPI_ISL_2941569" 
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