-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from adamhsparks/example_data
- Loading branch information
Showing
52 changed files
with
647 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Package: read.abares | |
Title: Provides simple downloading, parsing and importing of Australian | ||
Bureau of Agricultural and Resource Economics and Sciences (ABARES) | ||
data sources | ||
Version: 0.1.0 | ||
Version: 1.0.0 | ||
Authors@R: c( | ||
person("Adam H.", "Sparks", , "[email protected]", role = c("cre", "aut"), | ||
comment = c(ORCID = "0000-0002-0061-8359")), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,49 @@ | ||
# read.abares 1.0.0 | ||
|
||
## Major changes | ||
|
||
* Rename functions that both download and read files into active R session from `get_` to `read_` to avoid confusion with functions that only fetch data and have separate `read_` functions | ||
|
||
* Adds new function, `print_agfd_nc_file_format()` to provide details on the AGFD NetCDF files' contents | ||
|
||
* Uses Geopackages for {sf} objects rather than .Rds, faster and smaller file sizes when caching | ||
|
||
* Checks and corrects the geometries of the AAGIS Regions shapefile upon import and applies to the cached object if applicable | ||
|
||
## Bug fixes | ||
|
||
* No longer checks the length of a Boolean vector when checking the number of files in the cache before proceeding with removing them | ||
|
||
* Fixes bugs in `get_agfd()` when creating the directories for saving the downloaded file | ||
|
||
* Fixes bug in `get_aagis_regions()` when creating the cached object file | ||
|
||
* Fixes "URL" field in DESCRIPTION file, thanks @mpadge | ||
|
||
## Minor changes | ||
|
||
* Improved documentation | ||
|
||
* All data sets now have an `@source` field that points to the file being provided | ||
|
||
* All data sets now have an `@references` field that points to references for the data | ||
|
||
* Code linting thanks to [{flint}](https://flint.etiennebacher.com) | ||
|
||
* Use {httr2} to handle downloads | ||
|
||
* Increase timeout values to deal with stubborn long-running file downloads | ||
|
||
* Use {brio} to write downloads to disk | ||
|
||
* Use {httptest2} to help test downloads | ||
|
||
* Gracefully handle errors when AGFD zip files are corrupted on download, provide the user with an informative message and remove corrupted download | ||
|
||
* Tests are run in parallel for quicker testing | ||
|
||
* {sf} operations are now quiet when reading data where possible | ||
|
||
# read.abares 0.1.0 | ||
|
||
- Submission to rOpenSci for [peer code review](https://github.com/ropensci/software-review/issues) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.