個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Utilities for dynamic, reproducible environmental data-science reporting. Curated helpers across spatial (raster/STAC/GDAL/ODM), BC hydrology, S3, GitHub-issue scraping, Excel-formula introspection, and Rmarkdown wiring.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗New Graph Reporting — utilities for dynamic, reproducible environmental data-science reporting.
A curated set of helpers that recurring tasks across spatial-data ingest, STAC catalog browsing, BC hydrology data, GitHub-issue scraping, S3 object handling, filesystem operations, Excel-formula introspection, and Rmarkdown report wiring all need but no single domain package owns. Organized by domain prefix so functions are findable by what they do, not where they grew up.
pak::pak("NewGraphEnvironment/ngr")
Functions are named by prefix so the API surface is browseable as a flat list. 46 exports across 11 prefixes:
| Prefix | Domain | Sample functions |
|---|---|---|
ngr_spk_* | Deprecated — moved to spacehakr. All 12 remain as shims that warn and delegate. | spacehakr::spk_gdalwarp(), spacehakr::spk_stac_calc(), spacehakr::spk_join() |
ngr_str_* | String + path manipulation, file-content rewriting | ngr_str_extract_between(), ngr_str_replace_in_files(), ngr_str_viewer_cog(), ngr_str_link_url() |
ngr_fs_* | Filesystem helpers — typed read/write, conditional copy | ngr_fs_type_read(), ngr_fs_type_write(), ngr_fs_copy_if_missing() |
ngr_s3_* | S3 object listing + download + URL transforms | ngr_s3_keys_get(), ngr_s3_dl(), ngr_s3_path_to_https(), ngr_s3_files_to_index() |
ngr_git_* | GitHub issue + comment scraping (REST API) | ngr_git_issue(), ngr_git_issue_details() |
ngr_hyd_* | BC hydrometric data via tidyhydat | ngr_hyd_q_daily(), ngr_hyd_realtime() |
ngr_xl_* | Excel formula introspection — read formulas, map column names, rewrite | ngr_xl_read_formulas(), ngr_xl_map_colnames(), ngr_xl_map_formulas() |
ngr_tidy_* | tidyverse-flavored helpers — column drop / type compare / coerce | ngr_tidy_cols_rm_na(), ngr_tidy_cols_type_compare(), ngr_tidy_type() |
ngr_dbqs_* | DB-query string builders — predicate filters, identifier quoting, ltree | ngr_dbqs_filter_predicate(), ngr_dbqs_ltree(), ngr_dbqs_tbl_quote() |
ngr_chk_* | Validation + coercion (chk-flavoured) | ngr_chk_coerce_date(), ngr_chk_dt_complete() |
ngr_sed_* | sed-style bulk replacement across files | ngr_sed_replace_in_files() |
ngr wraps common workflows so the noisy parts (auth headers, pagination, JSON walking) stay out of report chunks.
Grab the full thread of a GitHub issue — body plus every comment — for a report-generating workflow:
issue <- ngr_git_issue_details("NewGraphEnvironment/ngr", 34)
issue$body
issue$comments[[1]]$body
The two STAC vignettes moved to
spacehakr along with the
spk_* functions they demonstrate.
ngr is a working catch-all that’s gradually being rationalized into focused packages — when a prefix group reaches enough mass to stand on its own, it moves. Active direction:
ngr_spk_* functions now live in
spacehakr as spk_*;
ngr keeps deprecated shims that warn and delegate.ngr_rspm_* family for faster GitHub Actions builds against pinned
snapshots.ngr_html_head_inject() for setting title + favicon + arbitrary
<head> on saved widget pages.ngr_chk_* family.ngr_str_* parsing primitives for structured text.Browse open issues for the current backlog.
MIT.