nc
Named Capture to Data Tables
User-friendly functions for extracting a data table (row for each match, column for each group) from non-tabular text data using regular expressions, and for melting columns that match a regular expression. Patterns are defined using a readable syntax that makes it easy to build complex patterns in terms of simpler, re-usable sub-patterns. Named R arguments are translated to column names in the output; capture groups without names are used internally in order to provide a standard interface to three regular expression 'C' libraries ('PCRE', 'RE2', 'ICU'). Output can also include numeric columns via user-specified type conversion functions.
- Version2024.9.20
- R version≥ 2.14
- LicenseGPL-3
- Needs compilation?No
- Last release09/20/2024
Documentation
- VignetteOverview of nc functionality
- Vignettesource
- VignetteR code
- VignetteCapture first match
- Vignettesource
- VignetteR code
- VignetteCapture all matches in a single subject string
- Vignettesource
- VignetteR code
- VignetteCapture melt
- Vignettesource
- VignetteR code
- VignetteComparisons with other packages
- Vignettesource
- VignetteR code
- VignetteHelper functions
- Vignettesource
- VignetteR code
- VignetteUniform interface to three regex engines
- Vignettesource
- VignetteR code
- VignetteReading regularly named files
- Vignettesource
- VignetteR code
- MaterialNEWS
Team
Toby Hocking
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends1 package
- Imports1 package
- Suggests13 packages
- Reverse Suggests3 packages