If you would like to add datasets to the ICON R package from the online ICON webpage, please complete the following steps:
- If you have write access to
rrrlw/ICON
, create a new branch. If not, fork the repository. - Add the raw data file (e.g. txt or csv format) under the
data-raw
directory. - Add an R script converting the raw data file to the R Data format (.rda or .RData extension). The R script should also be saved under the
data-raw
directory. - Add a call to the
save
function at the end of the R script that saves the R Data file in thedata-host
directory. - Add dataset metadata to
ICON_data.csv
under thedata-raw
directory. - Run
ICON_data.R
under thedata-raw
directory so thatICON_data.rda
under thedata
directory is updated. - Add the dataset name under the appropriate version heading in
NEWS.md
. - If not already done, add your name as a package author (
role = "aut"
) in theDESCRIPTION
file. - Create a pull request to
rrrlw/ICON
.
You can also create issues for any bugs/suggestions on the issues page.