# onloading message
.onAttach <- function(libname, pkgname){
packageStartupMessage(
'CME.assistant: To install the latest version from Github,
run `devtools::install_github("unicef-drp/CME.assistant")`'
)
}
# something to please the cran, not that important
if(getRversion() >= "2.15.1") {
utils::globalVariables(c(".",
"CME.org_2019_all_data",
"Rates_Deaths_Country_Summary_2019",
"Rates_Deaths_Country_Summary_2019_UI",
"default_label_1",
"..vars_wanted", "patterns", "ISO3Code", "country_info",
"UNICEFReportRegion", "UNICEFReportRegion1", "UNICEFReportRegion2",
"INDICATOR", "REF_AREA", "SERIES_NAME", "SEX",
"TIME_PERIOD", "Indicator", "Year",
"dt_sample", "dir_list", "..vars_kept", "Get", "UI", "Value",
"N", "Quantile", "Rates_Deaths_Country_Summary_2020_UI", "Sex",
"Rates_Deaths_Country_Summary_2019_UI",
"dir_list", "dt_sample", "variable",
"Age.Group.of.Women", "Code", "Country.Code",
"Country.ISO", "Country.Name",
"Date.Of.Data.Added", "End.date.of.Survey", "IGME_Key", "Inclusion",
"Original.Series.Name", "Reference.Date", "Series.Category", "Series.Name",
"Series.Type", "Series.Year", "Visible", "dir_IGME",
"CCProfile_Value" ,"CME_sources" ,"CME_sources5_24" ,"Data.Source" ,"ID" ,"ISO.Code",
"OfficialName", "Results", "Results_1", "Shortind", "Start.date.of.Survey", "VR_range",
"country" ,"dt_cme" ,"dt_cqt" ,"dt_new_cnames" ,"fig_dirs" ,"ind" ,"ind_short" ,"inds",
"legend_ID" ,"mcmc.meta" ,"na.omit" ,"source15_24" ,"source5_14", "surveys",
"surveys_combined", "value" ,"year.t" ,"year1" ,"year2" ,"years",
"res.cqt.Lw", "..vars0", "default_label",
"IGME_Key_s", "available_years", "CountryName", "UNCode", "arr", "pd",
"Adjustment.in.U5MR", "Average.date.of.Survey", "hiv.iso", "DataCatalogID"
))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.