<commit_before>## --------------------------------------------------------------------------
## Description: Automated creation of the eICU database and importing of data
## --------------------------------------------------------------------------


## Parameters ##

DBNAME=eicu
DBUSER=eicu
DBPASS=<PASSWORD>
DBHOST=localhost
DBSCHEMA=eicu

PHYSIONETURL=https://physionet.org/works/eICUCollaborativeResearchDatabase/files/

# if left blank, data is assumed to be in the local directory
datadir=./

## Commands ##
PSQL=psql "dbname=$(DBNAME) options=--search_path=$(SCHEMA)" --username=$(DBUSER)

## Export ##
# Parameters given in this Makefile take precedence over those defined in each
# individual Makefile (due to specifying the -e option and the export command
# here)
export

help:
	@echo '                                                                           '
	@echo '---------------------------------------------------------------------------'
	@echo 'Makefile for building eICU in a local Postgres database                    '
	@echo '                                                                           '
	@echo 'Usage:                                                                     '
	@echo '                                                                           '
	@echo '   Build eICU using the CSV files in the /path/to/data directory -         '
	@echo '                                                                           '
	@echo '             make eicu datadir="/path/to/data/"                            '
	@echo '                                                                           '
	@echo '             e.g. make eicu datadir="/data/eicu/"                          '
	@echo '---------------------------------------------------------------------------'
	@echo '                                                                           '
<commit_msg>Update Makefile<commit_after>## --------------------------------------------------------------------------
## Description: Automated creation of the eICU database and importing of data
## --------------------------------------------------------------------------


## Parameters ##

DBNAME=eicu
DBUSER=eicu
DBPASS=<PASSWORD>
DBHOST=localhost
DBSCHEMA=eicu

PHYSIONETURL=https://physionet.org/works/eICUCollaborativeResearchDatabase/files/

# if left blank, data is assumed to be in the local directory
datadir=./

## Commands ##
PSQL=psql "dbname=$(DBNAME) options=--search_path=$(DBSCHEMA)" --username=$(DBUSER)

## Export ##
# Parameters given in this Makefile take precedence over those defined in each
# individual Makefile (due to specifying the -e option and the export command
# here)
export

help:
	@echo '                                                                           '
	@echo '---------------------------------------------------------------------------'
	@echo 'Makefile for building eICU in a local Postgres database                    '
	@echo '                                                                           '
	@echo 'Usage:                                                                     '
	@echo '                                                                           '
	@echo '   Build eICU using the CSV files in the /path/to/data directory -         '
	@echo '                                                                           '
	@echo '             make eicu datadir="/path/to/data/"                            '
	@echo '                                                                           '
	@echo '             e.g. make eicu datadir="/data/eicu/"                          '
	@echo '---------------------------------------------------------------------------'
	@echo '                                                                           '

{'fraction_non_alphanumeric': 0.22367731796752227, 'fraction_numerical': 0.0, 'mean_word_length': 0.726491862567812, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 40, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3189252', 'n_tokens_mistral': 736, 'n_tokens_neox': 717, 'n_words': 211}