Skip to content

Commit

Permalink
Add for Analyzer and Writing Classes
Browse files Browse the repository at this point in the history
  • Loading branch information
venvis authored May 1, 2024
1 parent 908d5e6 commit 3f00adb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions cellar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,22 @@ Below are examples for in-memory saving:
df = cell.get_cellar(save_file='n', file_format='csv', sd='2022-01-01', max_ecli=1000)
df,json = cell.get_cellar_extra(save_file='n', max_ecli=100, sd='2022-01-01', threads=10)
```
```python
instance=Analyzer(celex_id:str)
output_list=instance()
print(output_list)
```
<p>Create a callback of the instance of the class initiated and pass a list as it's value.</p>

<p>The Writing Class also takes a celex id , upon initializing the class , through the means of the constructor and writes the content of its operative part into different files , depending on the function called</p>

```python
instance=Writing(celex_id:str)
output=instance.to_csv()#for csv
output=instance.to_txt()#for txt
output=instance.to_json()#for json

```

## License
[![License: Apache 2.0](https://img.shields.io/github/license/maastrichtlawtech/extraction_libraries)](https://opensource.org/licenses/Apache-2.0)
Expand Down

0 comments on commit 3f00adb

Please sign in to comment.