Package: grabr 2.1.2

Aaron Chafetz

grabr: OHA/SI APIs Package

Provides a series of base functions useful to the GH OHA SI team. These function extend the utility functions in glamr, focusing primarily on API utility functions.

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

grabr_2.1.2.tar.gz
grabr_2.1.2.zip(r-4.5)grabr_2.1.2.zip(r-4.4)grabr_2.1.2.zip(r-4.3)
grabr_2.1.2.tgz(r-4.4-any)grabr_2.1.2.tgz(r-4.3-any)
grabr_2.1.2.tar.gz(r-4.5-noble)grabr_2.1.2.tar.gz(r-4.4-noble)
grabr_2.1.2.tgz(r-4.4-emscripten)grabr_2.1.2.tgz(r-4.3-emscripten)
grabr.pdf |grabr.html
grabr/json (API)
NEWS

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

Peer review:

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

On CRAN:

5.72 score 1 stars 120 scripts 50 exports 64 dependencies

Last updated 2 months agofrom:483438770c. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 30 2024
R-4.5-winERROROct 30 2024
R-4.5-linuxERROROct 30 2024
R-4.4-winERROROct 30 2024
R-4.4-macERROROct 30 2024
R-4.3-winERROROct 30 2024
R-4.3-macERROROct 30 2024

Exports:%>%datim_dim_itemdatim_dim_itemsdatim_dim_urldatim_dimensiondatim_dimensionsdatim_execute_querydatim_mechsdatim_orgunitsdatim_popsdatim_process_querydatim_pull_hierarchydatim_querydatim_sqlviewsgen_urlget_baseurlget_datim_dataget_datim_targetsget_levelsget_orguidsget_ouorglabelget_ouorglevelget_ouorgsget_ouorguidsget_outableget_ouuidget_ouuidsidentify_levelsidentify_ouuidslazy_secretspackage_checkpano_downloadpano_extractpano_extract_msdpano_extract_msdspano_itemspano_sessionpull_mechpull_mers3_bucketss3_downloads3_excel_sheetss3_object_types3_objectss3_read_objects3_removes3_unpack_keyss3_uploadvar_existswave_process_query

Dependencies:askpassaws.s3aws.signaturebase64enccellrangerclicliprcpp11crayoncredentialscurldescdigestdplyrfansifsgenericsgertgetPassghgitcredsgluehmshttrhttr2inijsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigprettyunitsprogresspurrrR6rappdirsRcppreadxlrematchrlangrprojrootrstudioapirvestselectrstringistringrsystibbletidyrtidyselecttimechangetriebeardurltoolsusethisutf8vctrswhiskerwithrxml2yamlzip

Data Extraction from Panorama

Rendered fromdata-extraction-from-panorama.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2023-12-12
Started: 2021-09-23

Look up and extract organization hierarchy

Rendered fromdata-lookup-and-extraction-from-datim.Rmdusingknitr::rmarkdownon Oct 30 2024.

Last update: 2024-01-18
Started: 2024-01-17

Readme and manuals

Help Manual

Help pageTopics
Get dimension / item iddatim_dim_item
Get PEPFAR/DATIM Dimension Itemsdatim_dim_items
Build PEPFAR/DATIM Query dimensiondatim_dim_url
Get PEPFAR/DATIM Dimension IDdatim_dimension
Get PEPFAR/DATIM dimensionsdatim_dimensions
Execute Datim Querydatim_execute_query
Extract Mechanisms infos from Datimdatim_mechs
Pull Orgunits SQLViewdatim_orgunits
Extract PLHIV and General POP Estimates from datimdatim_pops
Process Datim Query resultsdatim_process_query
Extract PEPFAR Org Hierarchydatim_pull_hierarchy
Query PEPFAR/DATIM targets/results datadatim_query
Query Datim SQLViewsdatim_sqlviews
Generate a API URLgen_url
Get base url from a linkget_baseurl
DATIM API Call for Targetsget_datim_data
DATIM API Call for Targetsget_datim_targets
Get all orgunits levels in org hierarchyget_levels
Get Org UIDSget_orguids
Identify OU/Org Labelget_ouorglabel
Get OU Org levelget_ouorglevel
Get list of OU Orgs at specific levelget_ouorgs
Get Orgs uids by levelget_ouorguids
Pull Table of OUs/Countries, UIDs, ISO codes and levelsget_outable
Get Operatingunit / Country Org UIDget_ouuid
Get OU Org UIDSget_ouuids
Identify Facility/Community levels in org hierarchyidentify_levels
Pull OU UIDSidentify_ouuids
Lazy checking/loading of credentialslazy_secrets
Download file from PEPFAR Panoramapano_download
Extract data outputs from Panoramapano_extract
Downloads Country Specific MSDspano_extract_msd
Downloads All Global + OU Specific MSDspano_extract_msds
Extract data items from urlpano_items
Create an active session for PEPFAR Panoramapano_session
Pull Partner/Mechanism Info from DATIMpull_mech
Extract DATIM Results and Targets (DATIM API Call)pull_mer
Get S3 Buckets lists3_buckets
Download S3 Objectss3_download
Read sheets from S3 Objects / Excels3_excel_sheets
Idenfity S3 Object types3_object_type
Get S3 Bucket objects lists3_objects
Read content of S3 Objectss3_read_object
Remove objects from S3 buckets3_remove
Unpack Objects Keys3_unpack_keys
Upload file to S3 Buckets3_upload
Check if variable existvar_exists
Pull Genie Data from PDAP Wavewave_process_query