inbo / ClimateCastR

A package to do a rough climate match for horizon scanning
Other
0 stars 0 forks source link

19 create function data download #29

Closed soriadelva closed 3 months ago

soriadelva commented 4 months ago

The original idea was to create a function data_download with the same functionality + some extras as the code used in the climate_match script. However, as the input could be either a (vector of) taxonkey(s), a zipfile, or a downloadkey, and these should better not be combined (i.e., it may be confusing to provide both taxonkeys and a zipfile, especially since the zipfile would allow to upload data that may be different from the usual GBIF download as long as the necessary columns are present), I decided to create three seperate functions, one for each type of data download/import. As such, it will also be very clear what the necessary input of each function is (i.e., either taxonkeys, a zipfile, or a downloadkey).

soriadelva commented 4 months ago

It's weird that the checks fail, Devtools::check() did nog signal any errors 🤔

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 0% with 280 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (14c6126) to head (9c0f565). Report is 1 commits behind head on main.

Files Patch % Lines
R/get_data.R 0.00% 280 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #29 +/- ## ====================================== Coverage 0.00% 0.00% ====================================== Files 2 3 +1 Lines 614 894 +280 ====================================== - Misses 614 894 +280 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.