morphology
: deals with depth data between parentesis when retrieving soil color data.
morphology
: deal with varying number of soil color records (1 or 2)- Documentation updates.
morphology
: retrieve soil color data when accents are missing ("umido" or "umida")
febr2sse
: updates nomenclature (SmartSolos Expert and sse); process soil consistency datamorphology
: retrieve soil consistency data
- Patch: guarantee that
rmarkdown
is up to date to build vignettes.
- Cleans code and documentation.
- Sets a new file to store the ID of the datasets downloaded using the core function
readFEBR()
.
- New function
dictionary()
- Renames
standard()
- Argument
table
has two new valid values:metadado
andversionamento
.
- Renames
- Code formatting and clean up.
- Improvements on how unitless variables are dealt with.
- Code formatting and clean up.
- Improves documentation.
- Adds NA option (#N/A).
- Corrects bug in unit conversion.
- Improves documentation.
- New function:
taxonomy()
. Extract and process soil taxonomic data from textual soil classification description. A vignette accompanies the new function.
- Bug fix:
observation()
. Corrects an issue in argument checking.- Fixes invalid URLs.
- New function
morphology
to extract and process soil morphological properties from field soil morphology descriptions. - Adds data conversion routines in
febr2smartsolos
for the following soil variables: taxonomic classification, soil matrix color (wet and dry), soil structure.
- Improves translation of variable names when converting soil profile data between FEBR and SMARTSolos.
- Deals with suggested packages.
- New functions
febr2smartsolos()
andsmartsolos2febr()
for soil profile data conversion between FEBR and SMARTSolos.
- Improves documentation for new release.
- Improves documentation for new release.
readFEBR()
: improves output object.
- Improves package documentation.
readFEBR()
: new general purpose function to download raw data.
- Bug fix: correct file format i.e. TXT instead of CSV.
- Improvements:
- Includes changes to download data from new webserver
- New function argument
febr.repo
allows user to set where the data should be read from: the remote web server or a local directory
- Other changes:
header()
is now deprecated due to the new file structure used in FEBR. Users can now rely on the already existingmetadata()
to get the same resultsfebr2spdf()
is now defunct.
- Improvements:
- Packages googlesheets, googlesheets4 and readr are not dependencies anymore;
- A new function
febr2sf
is available as a replacement forfebr2sp
-- sp is not dependencies anymore; febr2xlsx
is now deprecated -- xlsx is not dependencies anymore;
- Bug fix:
layer
: standard variables are only set to type character whenstack = TRUE
.
- Getting rid of googlesheets4.
- Using
Sys.sleep(time = 10)
to pass checks in functions examples. This is necessary because the new Google Sheets API has a limit of 500 requests per 100 seconds per project, and 100 requests per 100 seconds per user (https://developers.google.com/sheets/api/limits). This issue has also been found elsewhere, e.g. https://stackoverflow.com/questions/53765222/python-google-sheets-api-limit-429-error-with-loop. We soon will remove the dependency upon googlesheets4 and thus solve this issue. - Preparing for removal of googlesheets4 from the list of imports.
- Improvements:
- New function:
febr2sf
as a replacement forfebr2sp
; - Replaces googlesheets with
.readGoogleSheets
; febr2xlsx
is now deprecated and febr does not depend upon xlsx anymore;- Improves documentation;
- New function:
- Bug fixes:
layer
: standard variables are only set to type character whenstack = TRUE
;
- Improvements:
- Replaces sp with sf;
- Exports new data reading function:
.readGoogleSheets
; - Improves documentation;
- Bug fixes:
metadata
: get correct file id.
- Replacing googlesheets with googlesheets4.
- New version (patch) including internal changes in download functions and documentation improvements.
- Preparing for future modifications in data storage in febr. Now the sheet name (
dataset
,observacao
,camada
ormetadado
) is explicitly specified withing download functions. The user should not have to worry about this change.
- Bug fix: setting argument
missing = list(coord = 'drop')
in functionobservation()
now correctly drops observations missing spatial coordinates. Thanks to Edberto Moura Lima, from the Federal University of Santa Maria, who identified the bug. Equivalent modifications were implemented in functionlayer()
.
- New version (patch) -- including several bug fixes.
- Bug fixes:
- knitr was moved from Imports to Suggests.
observatio()
: checking if the number of observations with date is greater than the number of observations without date.unit()
: checking if the value passed to an argument is valid.
#VALUE!
now is considered asNA
. This can be found when a calculation is performed in one of the Google Sheets.
tr
now is considered asNA
. This is frequently found in the camada table.
- Bug fixes:
- Many layers from datasets that have not gone through revision yet are lacking the identification code
camada_id
, which is automatically set toNA_character_
. In these cases, when merging repeated layer data usinglayer(standardization = list(repetition = "combine"))
, the entire observation would be merged. This was because for all layerscamada_id = NA_character_
, that is,camada_id
was duplicated. Now duplicates are checked usingduplicated(incomparables = NA)
to avoid incorrect merges. - The lowermost limit of some layers is recorded as being a wavy or irregular layer trasitions. This is
done using
/
. The depth data of these layes may include a plus sign indicating that the same material can be found deeper in the soil. This poses a difficulty when processing the plus sign witheval()
andparse()
because/
is interpreted as a division sign. Now the presence of/
is checked before deciding how to deal with the plus sign.
- Many layers from datasets that have not gone through revision yet are lacking the identification code
- New version (patch) -- including several bug fixes.
- Adjustments for new release.
- Bug fixes:
- Corrects the arrangement of the columns of the table containing measurement units and fields names.
- Corrects the stacking of measurement units and fields names.
- Takes into account that both '<' and '< ' are used to indicate 'less than'.
-
is used as a surrogate measurement unit for variables that are unitless.
- Bug fix: proceeds with standardization and harmonization only when the dataset has data on the selected variables. This should produce a minor speed improvement.
- Bug fix:
-
is used as a surrogate measurement unit for variables that are unitless. This is necessary to perform data standardization.
- Bug fix: exports correct data type when combining categorical data values when there are repeated measurements.
- Bug fix: stops execution of
layer
andobservation
when downloading a single dataset withstack = TRUE
.
- Accommodates changes in febr:
- Field
camada_numero
now iscamada_id
. - Field
amostra_codigo
now isamostra_id
.
- Field
- Bug fix: during the standardization of measurement units, now understands that measurements units are stored
in the second line of tables
camada
andobservacao
.
- Bug fixes.
- Updates authorship information.
- Adds METACRAN package download badge (https://www.r-pkg.org/services).
- Adds custom package devel version badge (based on https://github.com/GuangchuangYu/badger).
- New string used to identify comments in data tables
camada
andobservacao
. Now using#metadado>
-- as a replacement of#unidade
. This allows setting multiple lines with comments. - Functions
layer
andobservation
: the measurement unit,field_unit
, and true variable name,field_name
, are exported as attributes of the outputdata.frame
object.
- Submission to CRAN.