Skip to content

Commit 9258212

Browse files
authored
Merge pull request #114 from mcode/update-doc
update docs to have correct construction of extractor
2 parents 4c007d8 + 89d290c commit 9258212

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)