Skip to content

Commit

Permalink
fix: scraper uses note field and workshop type for mention
Browse files Browse the repository at this point in the history
  • Loading branch information
ewan-escience committed Oct 27, 2022
1 parent bcffbf9 commit b0c5400
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions data-generation/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function generateMentions(amountExtra = 10) {
'thesis',
'videoRecording',
'webpage',
'workshop',
'other',
];

Expand All @@ -55,6 +56,7 @@ function generateMentions(amountExtra = 10) {
image_url: null,
mention_type: faker.helpers.arrayElement(mentionTypes),
source: 'faker',
note: faker.helpers.maybe(() => faker.company.catchPhrase(), 0.3) ?? null
});
}

Expand All @@ -70,6 +72,7 @@ function generateMentions(amountExtra = 10) {
image_url: null,
mention_type: faker.helpers.arrayElement(mentionTypes),
source: 'faker',
note: faker.helpers.maybe(() => faker.company.catchPhrase(), 0.3) ?? null
});
}

Expand Down

0 comments on commit b0c5400

Please sign in to comment.