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

Improve the doi() help, to include a working example. #43

Open
SimonGoring opened this issue Apr 29, 2024 · 0 comments
Open

Improve the doi() help, to include a working example. #43

SimonGoring opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@SimonGoring
Copy link
Contributor

In response to an article review, it's clear that we need to improve the documentation for the doi() function. I have written a GitHub Gist that effectively does what we're looking to do.

We should clean up the code so it comes directly from a set of queries (rather than a raw file):

library(neotoma2)
library(dplyr)
library(readr)

poll <- readr::read_tsv('pollen_counts_europe.csv') %>%
    dplyr::filter(Data_Source == 'Neotoma') %>%
    dplyr::select(Dataset_ID) %>%
    dplyr::distinct() %>%
    unlist()

datasets <- neotoma2::get_datasets(poll, all_data = TRUE)
neotoma2::doi(datasets)
@SimonGoring SimonGoring self-assigned this Apr 29, 2024
@SimonGoring SimonGoring added the documentation Improvements or additions to documentation label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant