Skip to content

Commit

Permalink
update documentation, gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidree committed Sep 19, 2024
1 parent 4fd249a commit 4e1218f
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.Rhistory
.RData
.Ruserdata
my_notes

execute_internal_data.R

docs
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export(fd_inventory_spain)
export(fd_landcover_copernicus)
export(fd_landcover_esri)
export(fd_pathogens_defid2)
importFrom(dplyr,"%>%")
importFrom(rlang,.data)
importFrom(stats,na.omit)
importFrom(stringi,stri_trans_general)
Expand Down
28 changes: 22 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,35 @@

# Development version

## New features

- `fd_allometry_tallo()`: new function to retrieve data from the TALLO database (thanks to @i-c-grant in #1).

- `fd_pathogens_defid2()`:

- It has now `quiet` argument, which defaults to `TRUE`.

- `metadata_forestdata`:

- List of chorological species updated

- New list containing metadata of possible options for `fd_pathogens_defid2()`.

- `fd_landcover_esri()`: now includes land cover data for 2023.

## Enhancements

* `fd_inventory_spain()` now checks if metadata exists before downloading it.
- Properly name land cover instead of land use to `fd_landcover_copernicus()` and `fd_landcover_esri()` in their documentation.

* Properly name land cover instead of land use to `fd_landcover_copernicus()` and `fd_landcover_esri()` in their documentation.
- `fd_forest_eutrees4f()`: now gives an error with a better message when `distrib == "nat" & period != 2005`

* Improve documentation, fix mistake in urls to other functions.
- Improve documentation, fix mistakes in urls to other functions, add unit tests for all functions, correct wrong `fd_forest_extent_glad()` reference

## Bugs

* `fd_inventory_spain()` was returning metadata with the same name always. Now it will be different depending on the dataset that we download.
- `fd_forest_chorological()`: fixes #5. Species *Cedrus atlantica* and *Phoenix theophrasti* are eliminated from the metadata since they have no range data. *Chamaerops humilis* is now well spelled. The function now retrieve an error message when data is not available (fixes #5).

- `fd_inventory_spain()` was returning metadata with the same name always. Now it will be different depending on the dataset that we download, and it will be checked if it exists before downloading it (according to #3).

# Version 0.1.0

* Initial release.
- Initial release.
Binary file modified R/sysdata.rda
Binary file not shown.
Binary file modified data/metadata_forestdata.rda
Binary file not shown.
6 changes: 3 additions & 3 deletions man/fd_inventory_spain.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion man/fd_pathogens_defid2.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e1218f

Please sign in to comment.