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

Idea of new tools and workflow #20

Open
yvanlebras opened this issue Oct 1, 2019 · 0 comments
Open

Idea of new tools and workflow #20

yvanlebras opened this issue Oct 1, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@yvanlebras
Copy link
Contributor

Interesting workflow:

  • Start with a species list
  • Clean names with taxize and scrubr
  • Get occurrence data with rgbif
  • Clean occurrence data w/ rgbif, scrubr or
  • CoordinateCleaner
  • assertr to check data

R code example:

# read in species list
spp <- read.csv("spp_list.txt", header = TRUE,
stringsAsFactors = FALSE)$bad
# resolve names: fix misspellings
spp2 <- taxize::gnr_resolve(spp, data_source_ids = 11,
canonical = TRUE)$matched_name2
# fetch GBIF occurrence data
dat <- rgbif::occ_data(scientificName = spp2, limit = 300)
# remove data with issues: COUNTRY_MISMATCH & COORDINATE_ROUNDED
dat <- rgbif::occ_issues(dat, -cum, -cdround)
# make a single data.frame
dat <- dplyr::bind_rows(lapply(dat, "[[", "data"))
# remove records with incomplete lat/lon data
dat <- scrubr::coord_incomplete(dat)

So adding taxize and scrubr as Galaxy-E tools can be of interest

@yvanlebras yvanlebras added the enhancement New feature or request label Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant