Skip to content

Commit 89d290c

Browse files
author
Matthew Gramigna
committed
update docs to have correct construction of extractor
1 parent 4c007d8 commit 89d290c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Each extractor exposes an asynchronous `get` function that will return a bundle
4747
const { CSVCancerDiseaseStatusExtractor, logger} = require('mcode-extraction-framework');
4848

4949
// Instantiate extractor with base URL and any additional request headers
50-
const cancerDiseaseStatusExtractor = new CSVCancerDiseaseStatusExtractor('path-to-csv');
50+
const cancerDiseaseStatusExtractor = new CSVCancerDiseaseStatusExtractor({ filePath: 'path-to-csv' });
5151

5252
(async () => {
5353
logger.info('Extracting primary disease status data');

0 commit comments

Comments
 (0)