Skip to content

Commit

Permalink
housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
rhijmans committed Oct 27, 2023
1 parent 67fb89c commit 33a43c0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,10 @@ carob_script <- function(path) {
data_citation="Mhlanga, Blessing; Pellegrino, Elisa; Thierfelder, Christian; Ercoli, Laura, 2022, Conservation agriculture practices lead to diverse weed communities and higher maize grain yield in Southern Africa, https://hdl.handle.net/11529/10548829, CIMMYT Research Data & Software Repository Network, V1",
publication= "doi.org/10.1016/j.fcr.2022.108724",
data_institutions = "CIMMYT",
data_type="on-farm experiment",
carob_contributor="Hope Takudzwa Mazungunye"
data_type="on-farm experiment",
carob_contributor="Hope Takudzwa Mazungunye" ,
carob_date="2023-09-17",
revised_by = "Effie Ochieng'"
)

## download and read data
Expand Down Expand Up @@ -99,7 +101,7 @@ carob_script <- function(path) {
# respectively, SOC of 7.3 g kg−1.
# The soil at UZ has clay, sand, and silt contents of 400 g kg−1, 390 g kg−1, and 210 g kg−1, respectively,
# SOC content of 16.8 g kg−1
r$soil_clay <- ifelse(r$site == "DTC",22,40)
r$soil_clay <- ifelse(r$site == "DTC",22,40)
r$soil_sand <- ifelse(r$site == "DTC",73,39)
r$soil_silt <- ifelse(r$site == "DTC",5, 21)
r$soil_SOC <- ifelse(r$site == "DTC",0.73,1.68)
Expand All @@ -125,5 +127,5 @@ carob_script <- function(path) {

# all scripts must end like this
carobiner::write_files(dset, d, path=path)
}
}

5 changes: 3 additions & 2 deletions terms/dataset.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ dataset_id,yes,id (normalized uri),no
uri,yes,the uri of the dataset,no
group,yes,Carob group,no
license,yes,license that comes with the data,no
carob_contributor,yes,name(s) of contributers of the aggregation script,no
carob_contributor,yes,name(s) of contributers of this script,no
data_citation,yes,can be same as publication,no
data_type,yes,"what kind of data is this (e.g. experiment, survey, compilation)",no
publication,yes,the doi of the associated publication (if any),yes
data_institutions,yes,organizational home(s) of the data providers,yes
project,yes,project that this dataset belongs to (if any),yes
carob_date,no,date of contribution to Carob,yes
carob_date,no,date of contribution to Carob,no
revised_by,no,name(s) of contributers who made significant changes,no

0 comments on commit 33a43c0

Please sign in to comment.