pointblank | Data quality assessment and metadata reporting | Data Visualization library
kandi X-RAY | pointblank Summary
kandi X-RAY | pointblank Summary
With the pointblank package it’s really easy to methodically validate your data whether in the form of data frames or as database tables. On top of the validation toolset, the package gives you the means to provide and keep up-to-date with the information that defines your tables. For table validation, the agent object works with a large collection of simple (yet powerful!) validation functions. We can enable much more sophisticated validation checks by using custom expressions, segmenting the data, and by selective mutations of the target table. The suite of validation functions ensures that everything just works no matter whether your table is a data frame or a database table. Sometimes, we want to maintain table information and update it when the table goes through changes. For that, we can use an informant object plus associated functions to help define the metadata entries and present it as data dictionary. Just like we can with validation, pointblank offers easy ways to have the metadata updated so that this important documentation doesn't become stale.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pointblank
pointblank Key Features
pointblank Examples and Code Snippets
Community Discussions
Trending Discussions on pointblank
QUESTION
I'm noticing some odd behavior with R regex quantifiers written as either {min, max}
(as recommend in the stringr cheatsheet) vs. as {min - max}
, when using the pointblank package. I expect the regexes to work with {min, max}
and fail with {min - max}
. However, in the two examples below, one works with {min, max}
and one works with {min - max}
.
Example 1 works as expected: pattern_comma
works and pattern_dash
does not. But example 2 works unexpectedly: doi_pattern_comma
does not work and doi_pattern_dash
does work.
Any suggestions about this regex? Or might this be a bug in pointblank (in which case I can open an issue there)?
Thank you, SO community!
...ANSWER
Answered 2021-May-09 at 21:52You must not doubt: {min-max}
quantifier does not exist, you need to use
{min,max}
. \d{4-9}
throws an exception (try it with sub
and you will get invalid regular expression '\d{4-9}', reason 'Invalid contents of {}'
).
Next, the second issue is that the regex is parsed with the default TRE regex engine, and you can't use shorthand character classes like \w
or \W
inside bracket expressions there, so you need to use [:alnum:]_
instead of \w
inside square brackets.
Now, that you know the right regex:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pointblank
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page