Coder Social home page Coder Social logo

Comments (14)

tompollard avatar tompollard commented on June 11, 2024

I was thinking the same thing recently when creating the bash script for our data export (login needed - https://github.com/MIT-LCP/mimic-iii-building/tree/master/data_export).

The "_DATA_TABLE" is added by default when dumping CSV files using the Oracle GUI, but as we now export the data via custom scripts there's no reason to include it.

We'll go ahead with this change sometime soonish...

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

Rename csvs with:

rename 's/_DATA_TABLE*//' *.csv

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

CSV files and checksums have been updated on PhysioNet and testing servers.

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

"_DATA_TABLE" has been removed from the filename in the data and associated scripts. Closing issue...

from mimic-code.

alistairewj avatar alistairewj commented on June 11, 2024

Can do this in Windows powershell as follows:

get-childItem *_DATA_TABLE.csv | rename-item -newname { $_.name -replace '_DATA_TABLE','' }

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

Closed issue Alistair, closed issue. If _DATA_TABLE is in the filename, it's time to upgrade to the current version!

from mimic-code.

alistairewj avatar alistairewj commented on June 11, 2024

Just downloaded ADMISSIONS and CALLOUT from Physionet and while the .csv.gz
don't have DATA_TABLE in the name, when I extract them the final .csv does.

On Sat, Jan 23, 2016 at 2:07 PM, Tom Pollard [email protected]
wrote:

Closed issue Alistair, closed issue. If _DATA_TABLE is in the filename,
it's time to upgrade to the current version!


Reply to this email directly or view it on GitHub
#43 (comment).

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

Oh, what...I'll sort that out.

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

I just downloaded the ADMISSIONS and CALLOUT tables (+ a couple of others) from Physionet and decompressed using gzip -d *.gz. The decompressed files do not contain DATA_TABLE in the name:

-rw-r--r-- 1 name group 12738420 Jan 24 10:58 ADMISSIONS.csv
-rw-r--r-- 1 name group 6397862 Jan 24 10:58 CALLOUT.csv
-rw-r--r-- 1 name group 43532 Jan 24 10:56 D_LABITEMS.csv

Something weird going on here. Possible that you're somehow downloading an older version? Or some form of caching related to the two PhysioNet servers?

from mimic-code.

alistairewj avatar alistairewj commented on June 11, 2024

I used 7zip on Windows 7. Not sure if that changes things..
On 24 Jan 2016 11:02, "Tom Pollard" [email protected] wrote:

I just downloaded the ADMISSIONS and CALLOUT tables (+ a couple of others)
from Physionet and decompressed using gzip -d *.gz. The decompressed files
do not contain DATA_TABLE in the name:

-rw-r--r-- 1 name group 12738420 Jan 24 10:58 ADMISSIONS.csv
-rw-r--r-- 1 name group 6397862 Jan 24 10:58 CALLOUT.csv
-rw-r--r-- 1 name group 43532 Jan 24 10:56 D_LABITEMS.csv

Something weird going on here. Possible that you're somehow downloading an
older version? Or some form of caching related to the two PhysioNet servers?


Reply to this email directly or view it on GitHub
#43 (comment).

from mimic-code.

alistairewj avatar alistairewj commented on June 11, 2024

https://physionet.org/works/MIMICIIIClinicalDatabase/files/version_1_3/ADMISSIONS.csv.gz

Opening this on 7zip:

image

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

Oh, that's annoying, I see what's happened. I'll update the export scripts and we can include the new filename in the next release.

from mimic-code.

tompollard avatar tompollard commented on June 11, 2024

https://github.com/MIT-LCP/mimic-iii-building/commit/496ae0db006dae6427c8c6f726c4b62e7cb03767

from mimic-code.

alistairewj avatar alistairewj commented on June 11, 2024

Fixed with release of v1.4.

from mimic-code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.