File tree Expand file tree Collapse file tree
mimic-iv-note/buildmimic/postgres Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66-- psql "dbname=<DBNAME> user=<USER>" -v mimic_data_dir=<PATH TO DATA DIR> -f load_gz.sql
77\cd :mimic_data_dir
88
9- -- making sure that all tables are emtpy and correct encoding is defined -utf8-
9+ -- making sure that all tables are empty and correct encoding is defined -utf8-
1010SET CLIENT_ENCODING TO ' utf8' ;
1111
1212\COPY mimiciv_note .discharge FROM ' discharge.csv' DELIMITER ' ,' CSV HEADER NULL ' ' ;
Original file line number Diff line number Diff line change 66-- psql "dbname=<DBNAME> user=<USER>" -v mimic_data_dir=<PATH TO DATA DIR> -f load_gz.sql
77\cd :mimic_data_dir
88
9- -- making sure that all tables are emtpy and correct encoding is defined -utf8-
9+ -- making sure that all tables are empty and correct encoding is defined -utf8-
1010SET CLIENT_ENCODING TO ' utf8' ;
1111
1212\COPY mimiciv_note .discharge FROM PROGRAM ' 7z e -so discharge.csv.gz' DELIMITER ' ,' CSV HEADER NULL ' ' ;
Original file line number Diff line number Diff line change 66-- psql "dbname=<DBNAME> user=<USER>" -v mimic_data_dir=<PATH TO DATA DIR> -f load_gz.sql
77\cd :mimic_data_dir
88
9- -- making sure that all tables are emtpy and correct encoding is defined -utf8-
9+ -- making sure that all tables are empty and correct encoding is defined -utf8-
1010SET CLIENT_ENCODING TO ' utf8' ;
1111
1212\COPY mimiciv_note .discharge FROM PROGRAM ' gzip -dc discharge.csv.gz' DELIMITER ' ,' CSV HEADER NULL ' ' ;
You can’t perform that action at this time.
0 commit comments