Skip to content

Add extract_query function to retrieve query strings from URLs - #116

Merged
chainsawriot merged 4 commits into
gesistsa:mainfrom
ghxm:feature/extract-query
Feb 17, 2026
Merged

Add extract_query function to retrieve query strings from URLs#116
chainsawriot merged 4 commits into
gesistsa:mainfrom
ghxm:feature/extract-query

Conversation

@ghxm

@ghxm ghxm commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

Since the package currently only includes a drop_query() function to handle queries, an extract_query() analogous to extract_path() could be used to extract the query string into its own column.

  • Add extract_query() to extract the query string from URLs into a new column, complementing the existing extract_host(), extract_domain(), and extract_path() functions
  • Uses adaR::ada_get_search() under the hood, follows the same signature pattern (varname, decode parameters) and column naming convention
  • Add tests and mention in vignette/README

@chainsawriot

Copy link
Copy Markdown
Contributor

@ghxm

  • Add yourself to DESCRIPTION; and then run cffr::cff_write()
  • run devtools::build_readme() and commit also README.md

@ghxm

ghxm commented Feb 17, 2026

Copy link
Copy Markdown
Contributor Author

@ghxm

  • Add yourself to DESCRIPTION; and then run cffr::cff_write()
  • run devtools::build_readme() and commit also README.md

Added myself as a contributor and committed README.md changes. CITATION file does not change with contributor updates (other than date updates and dependency information), so I skipped that.

@chainsawriot
chainsawriot merged commit a78e37d into gesistsa:main Feb 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants