Package: glamr 2.0.4

Aaron Chafetz

glamr: SI Utilities Package

Provides a series of base functions useful to the GH OHA SI team. This includes project setup, pulling from DATIM, and key functions for working with the MSD.

Authors:Aaron Chafetz [aut, cre], Tim Essam [aut], Baboyma Kagniniwa [aut], Benjamin Kasdan [aut]

glamr_2.0.4.tar.gz
glamr_2.0.4.zip(r-4.7)glamr_2.0.4.zip(r-4.6)glamr_2.0.4.zip(r-4.5)
glamr_2.0.4.tgz(r-4.6-any)glamr_2.0.4.tgz(r-4.5-any)
glamr_2.0.4.tar.gz(r-4.7-any)glamr_2.0.4.tar.gz(r-4.6-any)
glamr_2.0.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
glamr/json (API)

# Install 'glamr' in R:
install.packages('glamr', repos = c('https://usaid-oha-si.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/usaid-oha-si/glamr/issues

Datasets:

On CRAN:

Conda:

6.19 score 3 stars 1 packages 426 scripts 51 exports 51 dependencies

Last updated from:d1b3cc41c8. Checks:7 WARNING, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64WARNING216
source / vignettesOK278
linux-release-x86_64WARNING228
macos-release-arm64WARNING109
macos-oldrel-arm64WARNING78
windows-develWARNING84
windows-releaseWARNING114
windows-oldrelWARNING97
wasm-releaseOK145

Exports:%<>%%>%%ni%clean_countriesclean_filenameconnect_textconvert_date_to_qtrconvert_datim_pd_to_qtrconvert_fy_qtr_to_pdconvert_qtr_to_datecurr_datedatim_pwddatim_userexport_drivefileextract_excel_dataextract_tbl_dataextract_textfolder_setupgdrive_foldergdrive_metadatagen_ref_idget_accountget_keyget_keysget_s3keyget_servicesimport_drivefileis_storedload_secretslookup_countryopen_pathpackage_checkpano_pwdpano_userpdap_accesspdap_bucketpdap_secretprinfreturn_latestset_accountset_datimset_emailset_keyset_panoset_pathsset_s3keyssetup_gitignoresetup_readmesi_pathsi_setuptemp_folder

Dependencies:askpassclicliprcpp11crayoncredentialscurldescdigestdplyrfilelockfsgarglegenericsgertgitcredsgluegoogledrivehttrhttr2inijsonlitekeyringlifecyclelubridatemagrittrmimeopensslpillarpkgconfigpurrrR6rappdirsrlangrprojrootrstudioapistringistringrsystibbletidyrtidyselecttimechangeusethisutf8uuidvctrswhiskerwithryamlzip

Project Workflow
Introduction | Initiate Project | SI Workflow, Enter glamr | Accessing Data

Last update: 2023-04-14
Started: 2021-08-04

Credential Management
Introduction | Store credentials | Old way of doing things | Accessing stored credentials

Last update: 2021-08-04
Started: 2020-12-06

Readme and manuals

Help Manual

Help pageTopics
Negate in%ni%
Clean Natural Earth Country names to match PEPFAR Dataclean_countries
Clean Filenameclean_filename
Clean and connect parts of text togetherconnect_text
Convert Date to FY Quarter/Periodconvert_date_to_qtr
Convert DATIM CY Quarter/Period to FY Quarterconvert_datim_pd_to_qtr
Convert Fiscal Year and Quarter into Periodconvert_fy_qtr_to_pd
Convert FY Quarter/Period to Dateconvert_qtr_to_date
Get formatted current datecurr_date
Return DATIM passworddatim_pwd
Return DATIM usernamedatim_user
Export local files for googledrive folderexport_drivefile
Extract data from excel linkextract_excel_data
Extract table data from web pageextract_tbl_data
Extract textextract_text
Setup Folder Structure in Projectfolder_setup
Get id of googledrive foldergdrive_folder
Unpack Google Drive Metadatagdrive_metadata
Generate Reference IDgen_ref_id
Get account detailsget_account
Get value of service key nameget_key
Get Service Keysget_keys
Get S3 Credentials - Access or Secret Access Keyget_s3key
Get Servicesget_services
Import file from a Google Drive folderimport_drivefile
Test if service is stored in credential manageris_stored
Load credentialsload_secrets
Lookup official Country namelookup_country
Open directory explorer or filesopen_path
Return PEPFAR Panorama passwordpano_pwd
Return PEPFAR Panorama usernamepano_user
Store PDAP Access Key credentialspdap_access
Access PDAP read/write bucketpdap_bucket
Store PDAP Secret Access Key credentialspdap_secret
Current List of PEPFAR OUs/Countries and their ISO codespepfar_country_list
Cross-walk of Country namespepfar_country_xwalk
Current PEPFAR Data Calendarpepfar_data_calendar
Print All Rowsprinf
Return Latest Filereturn_latest
Create / Update accountset_account
Store DATIM credentialsset_datim
Store USAID emailset_email
Set value for service nameset_key
Store PEPFAR Panorama credentialsset_pano
Set SI local folder pathsset_paths
Store S3 Credentialsset_s3keys
Setup gitignore in Projectsetup_gitignore
Setup README with Disclaimer in Projectsetup_readme
Access SI folderpathsi_path
Default SI Project Setupsi_setup
Generate Temporary Foldertemp_folder