MCPcopy Create free account
hub / github.com/FDA/openfda / CSV2JSONMapper

Class CSV2JSONMapper

openfda/res/pipeline.py:135–196  ·  view source on GitHub ↗

Mapper for the CSV2JSON map-reduction. There is some special logic in here to generate a hash() from the top level key/value pairs for the id in Elasticsearch. Also, upc and ndc are extracted and added to reports that are of drug type.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

runMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected