Vectorised Tools for URL Handling and Parsing

A toolkit for all URL-handling needs, including encoding and decoding, parsing, parameter extraction and modification. All functions are designed to be both fast and entirely vectorised. It is intended to be useful for people dealing with web-related datasets, such as server-side logs, although may be useful for other situations involving large sets of URLs.


urltools

A package for elegantly handling and parsing URLs from within R.

Author: Oliver Keyes, Jay Jacobs
License: MIT
Status: Stable

Travis-CI Build Status downloads

Description

URLs in R are often treated as nothing more than part of data retrieval - they're used for making connections and reading data. With web analytics and research, however, URLs can be the data, and R's default handlers are not best suited to handle vectorised operations over large datasets. urltools is intended to solve this.

It contains drop-in replacements for R's URLdecode and URLencode functions, along with new functionality such as a URL parser and parameter value extractor. In all cases, the functions are designed to be content-safe (not breaking on unexpected values) and fully vectorised, resulting in a dramatic speed improvement over existing implementations - crucial for large datasets. For more information, see the urltools vignette.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Installation

The latest CRAN version can be obtained via:

install.packages("urltools")

To get the development version:

devtools::install_github("ironholds/urltools")

Dependencies

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("urltools")

1.7.3.1 by Os Keyes, a year ago


https://github.com/Ironholds/urltools/


Report a bug at https://github.com/Ironholds/urltools/issues


Browse source code at https://github.com/cran/urltools


Authors: Os Keyes [aut, cre] , Jay Jacobs [aut] , Drew Schmidt [aut] , Mark Greenaway [ctb] , Bob Rudis [ctb] , Alex Pinto [ctb] , Maryam Khezrzadeh [ctb] , Peter Meilstrup [ctb] , Adam M. Costello [cph] , Jeff Bezanson [cph] , Peter Meilstrup [ctb] , Xueyuan Jiang [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp, methods, triebeard

Suggests testthat, knitr

Linking to Rcpp


Imported by CEOdata, DSMolgenisArmadillo, DatabaseConnector, DominoDataR, MolgenisArmadillo, MolgenisAuth, RKorAPClient, RTD, Riex, SP2000, ccdR, codemetar, cookiemonster, crul, ctxR, emayili, etrader, europepmc, fireproof, gutenbergr, gwasrapidd, handlr, hfhub, hlidacr, hubeau, otpr, pagoda2, plumbertableau, polyglotr, promr, qpost, ralger, rameritrade, rdomains, reqres, riskmetric, rlinkedinads, runonce, schwabr, shinyOAuth, storywranglr, webmockr.

Suggested by dbx, vosonSML.


See at CRAN