Commit 69b6c42a authored by Tobinsk's avatar Tobinsk
Browse files

Resolve "use objects"

parent 084bbb62
......@@ -76,8 +76,19 @@ class WikidataAnalyserTransformer extends stream_1.Transform {
*/
_transform(chunk, encoding, callback) {
// if norm_identifiers are unset, go ahead
const data = Buffer.from(chunk.parsed.data).toString('utf8');
const obj = JSON.parse(data);
let obj;
if (Buffer.isBuffer(chunk)) {
try {
const data = Buffer.from(chunk).toString('utf8');
obj = JSON.parse(data);
}
catch (err) {
return callback(null);
}
}
else {
obj = chunk;
}
if (typeof obj.claims === 'undefined') {
return callback(null);
}
......@@ -114,4 +125,4 @@ class WikidataAnalyserTransformer extends stream_1.Transform {
}
}
exports.default = WikidataAnalyserTransformer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lraWRhdGEtYW5hbHlzZXItdHJhbnNmb3JtZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvd2lraWRhdGEtYW5hbHlzZXItdHJhbnNmb3JtZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSwrQkFBK0I7QUFDL0IsbUNBQWlDO0FBZWpDOzs7R0FHRztBQUNILE1BQU0sMkJBQTRCLFNBQVEsa0JBQVM7SUFnRWpEOzs7T0FHRztJQUNILFlBQVksVUFBZSxFQUFFO1FBQzNCLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztRQW5FakI7Ozs7V0FJRztRQUNLLDZCQUF3QixHQUFhO1lBQzNDLE9BQU87WUFDUCxPQUFPO1lBQ1AsT0FBTztZQUNQLE9BQU87WUFDUCxPQUFPO1lBQ1AsT0FBTztZQUNQLE9BQU87WUFDUCxPQUFPO1lBQ1AsT0FBTztZQUNQLE1BQU07WUFDTixNQUFNO1lBQ04sT0FBTztZQUNQLE1BQU07WUFDTixNQUFNO1lBQ04sT0FBTztZQUNQLE9BQU87WUFDUCxNQUFNO1lBQ04sTUFBTTtZQUNOLE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LENBQUMsQ0FBQztJQUNoQyxDQUFDO0NBYUY7QUFDRCxrQkFBZSwyQkFBMkIsQ0FBQyJ9
\ No newline at end of file
......@@ -19,12 +19,17 @@ class WikidataGeofilterTransformer extends stream_1.Transform {
_transform(chunk, encoding, callback) {
// check if instance of exists
let obj;
try {
const data = Buffer.from(chunk.parsed.data).toString('utf8');
obj = JSON.parse(data);
if (Buffer.isBuffer(chunk)) {
try {
const data = Buffer.from(chunk).toString('utf8');
obj = JSON.parse(data);
}
catch (err) {
return callback(null);
}
}
catch (err) {
return callback(null);
else {
obj = chunk;
}
if (typeof obj.claims === 'undefined' || typeof obj.claims.P31 === 'undefined') {
return callback(null);
......@@ -49,4 +54,4 @@ class WikidataGeofilterTransformer extends stream_1.Transform {
}
}
exports.default = WikidataGeofilterTransformer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lraWRhdGEtZ2VvZmlsdGVyLXRyYW5zZm9ybWVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL3dpa2lkYXRhLWdlb2ZpbHRlci10cmFuc2Zvcm1lci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG1DQUFpQztBQUVqQzs7R0FFRztBQUNILE1BQU0sNEJBQTZCLFNBQVEsa0JBQVM7SUFNbEQsWUFBWSxPQUFPO1FBQ2pCLEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztRQUNmLElBQUksQ0FBQyxZQUFZLEdBQUcsT0FBTyxDQUFDLFlBQVksQ0FBQztJQUMzQyxDQUFDO0lBRUQ7Ozs7OztPQU1HO0lBQ0ksVUFBVSxDQUFDLEtBQUssRUFBRSxRQUFRLEVBQUUsUUFBUTtRQUN2Qyw4QkFBOEI7UUFDOUIsSUFBSSxHQUFHLENBQUM7UUFDUixJQUFJO1lBQ0YsTUFBTSxJQUFJLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxLQUFLL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Q0FBQyxDQUFDO0lBQy9CLENBQUM7Q0FDSjtBQUVELGtCQUFlLDRCQUE0QixDQUFDIn0=
\ No newline at end of file
......@@ -25,9 +25,20 @@ class WikidataNormalizerTransformer extends stream_1.Transform {
*/
_transform(chunk, encoding, callback) {
let result = {};
let obj;
if (Buffer.isBuffer(chunk)) {
try {
const data = Buffer.from(chunk).toString('utf8');
obj = JSON.parse(data);
}
catch (err) {
return callback(null);
}
}
else {
obj = chunk;
}
try {
const data = Buffer.from(chunk.parsed.data).toString('utf8');
const obj = JSON.parse(data);
// helpers
const lat = Number.parseFloat(this.getValue(obj, 'P625', 'latitude')).toFixed(6);
const lon = Number.parseFloat(this.getValue(obj, 'P625', 'longitude')).toFixed(6);
......@@ -195,4 +206,4 @@ class WikidataNormalizerTransformer extends stream_1.Transform {
}
}
exports.default = WikidataNormalizerTransformer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2lraWRhdGEtbm9ybWFsaXplci10cmFuc2Zvcm1lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy93aWtpZGF0YS1ub3JtYWxpemVyLXRyYW5zZm9ybWVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsdURBQXlDO0FBQ3pDLG9DQUFvQztBQUNwQywrQkFBK0I7QUFDL0IsbUNBQWlDO0FBR2pDLDJEQUFrRDtBQUVsRCxNQUFNLDZCQUE4QixTQUFRLGtCQUFTO0lBbUJuRCxZQUFZLE9BQU87UUFDakIsS0FBSyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1FBbkJqQjs7O1dBR0c7UUFDSyxjQUFTLEdBQUcsQ0FBQyxJQUFJLEVBQUUsSUFBSSxFQUFFLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQztRQWdCM0MsSUFBSSxDQUFDLE1BQU0sR0FBRyxPQUFPLENBQUMsTUFBTSxDQUFDO1FBQzdCLElBQUksQ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QzdCLENBQUM7SUFFRDs7Ozs7T0FLRztJQUNLLFFBQVEsQ0FBQyxHQUFHLEVBQUUsUUFBZ0IsRUFBRSxRQUFnQixFQUFFO1FBQ3hELE9BQU8sS0FBSyxDQUFDLElBQUksQ0FBQyxDQUFDLFFBQVEsRUFBRSxRQUFRLEVBQUUsQ0FBQyxFQUFFLFVBQVUsRUFBRSxXQUFXLEVBQUUsT0FBTyxFQUFFLEtBQUssQ0FBQyxFQUFFLEdBQUcsQ0FBQyxJQUFJLElBQUksQ0FBQztJQUNuRyxDQUFDO0NBQ0Y7QUFFRCxrQkFBZSw2QkFBNkIsQ0FBQyJ9
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment