Skip to content

Commit

Permalink
fixed issue 105
Browse files Browse the repository at this point in the history
  • Loading branch information
bocinsky committed Nov 13, 2023
1 parent 30956fe commit b9fc246
Show file tree
Hide file tree
Showing 119 changed files with 14,181 additions and 21 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# R specific hooks: https://github.com/lorenzwalthert/precommit
repos:
- repo: https://github.com/lorenzwalthert/precommit
rev: v0.2.2.9011
rev: v0.3.2.9025
hooks:
# any R project
- id: style-files
Expand All @@ -18,7 +18,7 @@ repos:
- id: use-tidy-description
- id: deps-in-desc
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.5.0
hooks:
- id: check-added-large-files
args: ['--maxkb=30000']
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 3.0.4
Date: 2023-05-25 15:57:10 UTC
SHA: aa812f50e174b0942be3fbf68b0c77a367fc7c14
Version: 4.0.0
Date: 2023-10-03 00:49:44 UTC
SHA: 30956fe1ecc83ecb7c7f4362f693dd2ccc6a9679
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Type: Package
Package: FedData
Title: Functions to Automate Downloading Geospatial Data Available from
Several Federated Data Sources
Version: 4.0.0
Date: 2023-10-02
Version: 4.0.1
Date: 2023-11-13
Authors@R:
c(person(given = c("R.", "Kyle"),
family = "Bocinsky",
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# FedData (development version)
- Updated `get_nlcd()` to inlcude the 2021 NLCD as the default, in response to [Issue #105](https://github.com/ropensci/FedData/issues/105).

# FedData 4.0.0
- Updated the [README](README.md) and moved examples to an article
Expand Down
6 changes: 3 additions & 3 deletions R/NLCD_FUNCTIONS.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
#' or [`terra`][terra::SpatRaster] object to serve as a template for cropping.
#' @param label A character string naming the study area.
#' @param year An integer representing the year of desired NLCD product.
#' Acceptable values are 2019 (default), 2016, 2011, 2008, 2006, 2004, and 2001.
#' Acceptable values are 2021 (default), 2019, 2016, 2011, 2008, 2006, 2004, and 2001.
#' @param dataset A character string representing type of the NLCD product.
#' Acceptable values are 'landcover' (default), 'impervious', and
#' 'canopy' (2016 and 2011, L48 only).
#' 'canopy'.
#' @param landmass A character string representing the landmass to be extracted
#' Acceptable values are 'L48' (lower 48 US states, the default),
#' 'AK' (Alaska, 2011 and 2016 only), 'HI' (Hawaii, 2001 only), and
Expand Down Expand Up @@ -43,7 +43,7 @@
#' }
get_nlcd <- function(template,
label,
year = 2019,
year = 2021,
dataset = "landcover",
landmass = "L48",
extraction.dir = file.path(
Expand Down
8 changes: 4 additions & 4 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"codeRepository": "https://github.com/ropensci/FedData",
"issueTracker": "https://github.com/ropensci/FedData/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "4.0.0",
"version": "4.0.1",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.3.1 (2023-06-16)",
"runtimePlatform": "R version 4.3.2 (2023-10-31)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -399,9 +399,9 @@
},
"SystemRequirements": "GDAL (>= 3.0.0)"
},
"fileSize": "1495.189KB",
"fileSize": "1495.29KB",
"releaseNotes": "https://github.com/ropensci/FedData/blob/master/NEWS.md",
"readme": "https://github.com/ropensci/FedData/blob/master/README.md",
"readme": "https://github.com/ropensci/FedData/blob/main/README.md",
"contIntegration": ["https://github.com/ropensci/FedData/actions/workflows/check-standard.yaml", "https://app.codecov.io/gh/ropensci/FedData?branch=master"],
"developmentStatus": "https://www.repostatus.org/#active",
"review": {
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ editor_options:

# CRAN comments

This is a major release from FedData v3.0.4 to FedData v4.0.0. Please
This is a patch release from FedData v4.0.0 to FedData v4.0.1. Please
see NEWS.md for release details.

Please note that in recent CRAN submissions, CRAN maintainers have been
Expand Down
106 changes: 106 additions & 0 deletions docs/404.html

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

82 changes: 82 additions & 0 deletions docs/LICENSE-text.html

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

Loading

0 comments on commit b9fc246

Please sign in to comment.