Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FDA/openfda
/ functions
Functions
1,029 in github.com/FDA/openfda
⨍
Functions
1,029
◇
Types & classes
287
↳
Endpoints
1
Method
complete
(self)
openfda/tasks.py:63
Method
complete
(self)
openfda/spl/pipeline.py:133
Method
complete
(self)
openfda/spl/pipeline.py:158
Method
compute_splits
The default behavior for splitting files is to have one split per file.
openfda/parallel/inputs.py:93
Method
compute_splits
The default behavior for splitting files is to have one split per file.
openfda/parallel/inputs.py:135
Function
copy_mapping
Copy the mappings and settings from `source_index` to `target_index`. `target_index` must not exist. This operation does not copy any data.
openfda/index_util.py:372
Method
create_reader
(self, split)
openfda/parallel/inputs.py:75
Method
create_reader
(self, split)
openfda/parallel/inputs.py:132
Method
create_reader
(self, split)
openfda/parallel/inputs.py:205
Method
create_reader
(self, split)
openfda/parallel/inputs.py:236
Method
create_reader
(self, split)
openfda/parallel/inputs.py:271
Method
create_writer
(self, prefix, shard_idx, num_shards)
openfda/parallel/outputs.py:82
Function
data_dir
(*subdirs)
openfda/config.py:51
Function
dict_constructor
(loader, node)
scripts/generate_fields_yaml.py:162
Function
disable_downloads
()
openfda/config.py:42
Function
download_requests
(url, output_filename)
openfda/common.py:235
Method
drug
(self, nodeset, json)
openfda/adae/pipeline.py:576
Function
dump_index
Dump the index `index` to disk as compressed JSON files. If a query is passed into the function, then it is filters out those records before the
openfda/index_util.py:44
Function
ean_8_valid
Verify if code is valid EAN8 barcode. Returns True|False
openfda/res/ean.py:72
Function
either
(c)
openfda/faers/xml_to_json.py:58
Method
entries
(self)
openfda/parallel/inputs.py:79
Method
entries
(self)
openfda/parallel/inputs.py:158
Method
entries
(self)
openfda/parallel/inputs.py:171
Method
entries
(self)
openfda/parallel/inputs.py:177
Method
entries
(self)
openfda/parallel/inputs.py:185
Method
entries
(self)
openfda/parallel/inputs.py:191
Method
entries
(self)
openfda/parallel/inputs.py:210
Method
entries
(self)
openfda/parallel/inputs.py:245
Method
entries
(self)
openfda/parallel/inputs.py:275
Method
entries
(self)
openfda/parallel/inputs.py:289
Function
es_client
(host=None, port=9200)
openfda/config.py:44
Function
expect_error
(query)
openfda/tests/api_test_helpers.py:86
Function
extract_and_clean
A utility function that extracts all of the zip files in a directory and converts the files from a source encoding to a target encoding.
openfda/download_util.py:14
Function
extract_date
Will transform a timestamp string to valid date string in YYYY-MM-DD format. :param date_str: A string having timestamp in YYYYMMDDhhmmss :retu
openfda/common.py:277
Function
extract_display_name
(tree)
openfda/spl/extract.py:64
Function
extract_duns
(tree)
openfda/spl/extract.py:68
Function
extract_effective_time
(tree)
openfda/spl/extract.py:52
Function
extract_id
(tree)
openfda/spl/extract.py:44
Function
extract_ndc_from_recall
(recall)
openfda/res/extract.py:46
Function
extract_package_ndcs
Extracts the full labelercode-productcode-packagecode NDCs
openfda/spl/extract.py:88
Function
extract_product_ndcs
Extracts the partial (labelercode-productcode) NDCs.
openfda/spl/extract.py:76
Function
extract_set_id
(tree)
openfda/annotation_table/extract_unii.py:54
Function
extract_set_id
(tree)
openfda/spl/extract.py:48
Function
extract_title
(tree)
openfda/spl/extract.py:41
Function
extract_unii
Extracts the UNII from Pharmalogical Indexing XML
openfda/annotation_table/extract_unii.py:72
Function
extract_unii_name
Extracts the name of the UNII from the Pharmalogical Indexing XML
openfda/annotation_table/extract_unii.py:77
Function
extract_unii_other_code
Extract the codes for other ingredients
openfda/annotation_table/extract_unii.py:83
Function
extract_unii_other_name
Extract the display names for other ingredients
openfda/annotation_table/extract_unii.py:91
Function
extract_upc_from_recall
(recall)
openfda/res/extract.py:75
Function
extract_version_number
(tree)
openfda/spl/extract.py:60
Method
filter
(self, data)
openfda/device_clearance/pipeline.py:87
Method
filter
This is the standard filter copied from Device Harmonization with a small difference in that it does not fail for missing product codes, which is
openfda/device_recall/pipeline.py:389
Method
filter
(self, data)
openfda/device_pma/pipeline.py:79
Method
finalize
Move the output JSON file to the final location. There should only be one file -- this will fail if the user specified multiple shards!
openfda/parallel/outputs.py:89
Method
finalize
(self, tmp_dir, final_dir)
openfda/parallel/outputs.py:111
Method
finalize
(self, tmp_dir, final_dir)
openfda/parallel/outputs.py:133
Function
flat_mapping
(mapping)
scripts/generate_fields_yaml.py:277
Method
flush
(self)
openfda/parallel/outputs.py:78
Method
flush
(self)
openfda/parallel/outputs.py:125
Function
generate
(mapping, schema, filename)
scripts/generate_fields_yaml.py:194
Function
get_k_number
(data)
openfda/common.py:213
Function
get_mapping
Get the Elasticsearch mapping for an index.
openfda/index_util.py:351
Function
get_p_number
(data)
openfda/common.py:218
Function
handle_barcode
(_, barcode)
openfda/spl/process_barcodes.py:26
Method
handle_device
Transform the dictionary, which follows the structure of UDI XML files, to a new one that matches the UDI mapping in ES.
openfda/device_udi/pipeline.py:171
Method
handle_safety_report
Handle a single safety_report entry.
openfda/faers/xml_to_json.py:102
Function
harmonization_extract_worker
(args)
openfda/annotation_table/unii_harmonization.py:38
Method
harmonize
(self, data)
openfda/registration/pipeline.py:553
Method
harmonize
(self, data)
openfda/maude/pipeline.py:740
Function
harmonize_unii
(out_file, product_file, unii_file, class_index_dir)
openfda/annotation_table/unii_harmonization.py:62
Method
increment
(self, key)
openfda/parallel/mapreduce.py:114
Function
index_with_checksum
Index documents in `batch`, inserting them into `index`. As an optimization, a SHA1 checksum is computed for each document. If a document alr
openfda/index_util.py:274
Function
index_without_checksum
A function for bulk loading a batch into an index without versioning. This operation assumes that the index was newly created (or erased) prior
openfda/index_util.py:248
Method
ingredient
(self, nodeset, json)
openfda/adae/pipeline.py:655
Function
is_newer
Returns true if file `a` is newer than `b`, or `b` does not exist.
openfda/common.py:201
Function
is_older
Returns true if file `a` is older than `b`, or `a` does not exist.
openfda/common.py:189
Function
is_original_packager
Returns true if this SPL's manufacturer is the original packager.
openfda/spl/extract.py:72
Method
is_other
(data)
openfda/device_recall/pipeline.py:135
Function
json
(query)
openfda/tests/api_test_helpers.py:92
Function
limitlessCountReq
(req, res)
api/faers/api.js:850
Function
load_unii_from_csv
(file)
openfda/annotation_table/extract_unii.py:59
Function
main
(argv)
scripts/dbreader.py:30
Function
main
(argv)
openfda/drugsfda/tests/pipeline_test.py:62
Function
main
(argv)
openfda/annotation_table/tests/pipeline_test.py:101
Function
main
(argv)
openfda/ndc/tests/pipeline_test.py:422
Function
main
(argv)
openfda/spl/tests/process_barcodes_test.py:49
Function
main
(argv)
openfda/adae/tests/pipeline_test.py:212
Function
main
(argv)
openfda/tests/parallel_test.py:172
Function
main
(argv)
openfda/device_udi/tests/pipeline_test.py:185
Function
main
(argv)
openfda/covid19serology/tests/pipeline_test.py:74
Method
map
(self, key, value, output)
openfda/drugsfda/pipeline.py:108
Method
map
(self, key, value, output)
openfda/drugsfda/pipeline.py:154
Method
map
(self, key, value, output)
openfda/drugsfda/pipeline.py:226
Method
map
(self, key, value, output)
openfda/drugsfda/pipeline.py:260
Method
map
(self, key, value, output)
openfda/drugsfda/pipeline.py:298
Method
map
(self, key, value, output)
openfda/drugsfda/pipeline.py:345
Method
map
(self, key, value, output)
openfda/drugsfda/pipeline.py:379
Method
map
(self, key, application, out)
openfda/drugsfda/pipeline.py:584
Method
map
(self, key, drug, out)
openfda/drugsfda/annotate.py:120
Method
map
(self, key, value, output)
openfda/substance_data/pipeline.py:657
← previous
next →
501–600 of 1,029, ranked by callers