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

Add new methods for SpatVectors #82

Merged
merged 38 commits into from
Mar 2, 2023
Merged

Add new methods for SpatVectors #82

merged 38 commits into from
Mar 2, 2023

Conversation

dieghernan
Copy link
Owner

@dieghernan dieghernan commented Feb 28, 2023

See #84

New methods:

  • arrange()
  • glimpe() (also for SpatRasters).
  • distinct() (re-check)
  • *_join()
  • group_*()
  • summarise()
  • count()/tally()

Added also a bunch of new coercing and helper functions:

  • as_spatvector()
  • as_sf()
  • is_grouped_spatvector()

Also need to:

  • Complete tests

@dieghernan dieghernan added enhancement New feature or request 🛠dplyr Issues related with dplyr methods labels Feb 28, 2023
@codecov
Copy link

codecov bot commented Feb 28, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.21 🎉

Comparison is base (981e794) 99.28% compared to head (32c50b2) 99.49%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #82      +/-   ##
==========================================
+ Coverage   99.28%   99.49%   +0.21%     
==========================================
  Files          28       40      +12     
  Lines        1670     1984     +314     
==========================================
+ Hits         1658     1974     +316     
+ Misses         12       10       -2     
Impacted Files Coverage Δ
R/as_spatraster.R 98.52% <ø> (-0.12%) ⬇️
R/autoplot-Spat.R 100.00% <ø> (ø)
R/drop_na-Spat.R 100.00% <ø> (ø)
R/fortify-Spat.R 100.00% <ø> (ø)
R/pull-Spat.R 100.00% <ø> (ø)
R/relocate-Spat.R 100.00% <ø> (ø)
R/rename-Spat.R 100.00% <ø> (ø)
R/replace_na-Spat.R 100.00% <ø> (ø)
R/select-Spat.R 100.00% <ø> (ø)
R/slice-Spat.R 100.00% <ø> (ø)
... and 16 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@dieghernan dieghernan marked this pull request as ready for review March 2, 2023 21:01
@dieghernan dieghernan added the ⇝ spatvector Related with SpatVector label Mar 2, 2023
@dieghernan dieghernan merged commit 8938acb into main Mar 2, 2023
@dieghernan dieghernan deleted the spatvec branch March 2, 2023 21:14
This was referenced Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠dplyr Issues related with dplyr methods enhancement New feature or request ⇝ spatvector Related with SpatVector
Projects
Development

Successfully merging this pull request may close these issues.

1 participant