Skip to content

Commit

Permalink
docs: Add functions.md
Browse files Browse the repository at this point in the history
DataSae Column's Function Based on Data Type
  • Loading branch information
pipinfitriadi committed Jul 10, 2024
1 parent a320061 commit 886cf38
Show file tree
Hide file tree
Showing 2 changed files with 74 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ Data Quality Framework provides by Jabar Digital Service

## Checker for Data Quality

> [!NOTE]
> You can use [DataSae Column's Function Based on Data Type](functions.md) for adding column checker function data quality in the config file.
```sh
pip install 'DataSae[converter,gsheet,s3,sql]'
```
Expand Down
71 changes: 71 additions & 0 deletions functions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!--
Copyright (C) Free Software Foundation, Inc. All rights reserved.
Licensed under the AGPL-3.0-only License. See LICENSE in the project root
for license information.
-->

# DataSae Column's Function Based on Data Type

## Boolean

| File Location | Description | Function |
|--------------------|-------------|----------|
| datasae/boolean.py | Is boolean | is_bool |
| datasae/boolean.py | Is in | is_in |

## String

| File Location | Description | Function |
|-------------------|---------------------------|--------------------------|
| datasae/string.py | contain | contain |
| datasae/string.py | not contain | not_contain |
| datasae/string.py | regex contain | regex_contain |
| datasae/string.py | special character contain | special_char_contain |
| datasae/string.py | is uppercase | is_uppercase |
| datasae/string.py | is lowercase | is_lowecase |
| datasae/string.py | is capitalize first word | is_capitalize_first_word |
| datasae/string.py | is capitalize all word | is_capitalize_all_word |
| datasae/string.py | exact match | exact |
| datasae/string.py | contain to multiple | is_in_contain |
| datasae/string.py | exact match to multiple | is_in_exact |

## Timestamp

| File Location | Description | Function |
|----------------------|--------------------|--------------------|
| datasae/timestamp.py | equal | equal_to |
| datasae/timestamp.py | Less than | less_than |
| datasae/timestamp.py | less than equal | less_than_equal |
| datasae/timestamp.py | greater than | greater_than |
| datasae/timestamp.py | greater than equal | greater_than_equal |
| datasae/timestamp.py | in range | in_range |
| datasae/timestamp.py | is in | is_in |
| datasae/timestamp.py | not in | not_in |

## Integer

| File Location | Description | Function |
|--------------------|--------------------|--------------------|
| datasae/integer.py | equal | equal_to |
| datasae/integer.py | Less than | less_than |
| datasae/integer.py | less than equal | less_than_equal |
| datasae/integer.py | greater than | greater_than |
| datasae/integer.py | greater than equal | greater_than_equal |
| datasae/integer.py | in range | in_range |
| datasae/integer.py | is in | is_in |
| datasae/integer.py | not in | not_in |
| datasae/integer.py | length | length |

## Float

| File Location | Description | Function |
|------------------|--------------------|--------------------|
| datasae/float.py | equal | equal_to |
| datasae/float.py | Less than | less_than |
| datasae/float.py | less than equal | less_than_equal |
| datasae/float.py | greater than | greater_than |
| datasae/float.py | greater than equal | greater_than_equal |
| datasae/float.py | in range | in_range |
| datasae/float.py | is in | is_in |
| datasae/float.py | not in | not_in |
| datasae/float.py | length | length |

0 comments on commit 886cf38

Please sign in to comment.