Description Usage Arguments Details Author(s)
Update var/index availability in master table from a curated reference JSON
1 2 3 4 | update_dataset_table(
projects = c("CMIP5", "CMIP6", "CMIP6Omon"),
out.file = "/tmp/dataset_table.csv"
)
|
projects |
projects vector string (several allowed). Currently just |
out.file |
Full path to output file table. Default to "/tmp/dataset_table.csv". See Details. |
The function will replace the appropriate fields within a copy of the master table dataset_table.csv in the inst folder, and store it in the target directory (writing permission is assumed).
Note that the dataset_table.csv in the inst folder will have to be replaced manually afterwards, and the package compiled for a new updated version.
The reference JSON storing the curated version of the IA ensemble members is at https://gitlab.predictia.es/ipcc/data-homogenizers/-/blob/master/total_members_curated.json. An up-to-date copy of this file is stored in 'inst/total_members_curated.json'.
J. Bedia
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.