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
↓ 2 callers
Function
fetch_counts
(query)
openfda/tests/api_test_helpers.py:98
↓ 2 callers
Method
field_val_array
(self, soup, field_key)
openfda/device_recall/pipeline.py:235
↓ 2 callers
Method
flush
(self)
openfda/common.py:35
↓ 2 callers
Method
flush
(self)
openfda/parallel/outputs.py:25
↓ 2 callers
Function
get_exact_fields
Takes a elasticsearch mapping file, flattens it, filters out exact fields and returns a unique list of keys that can be consumed by get_deep()
scripts/generate_fields_yaml.py:96
↓ 2 callers
Function
get_mapping_fields
(mapping)
scripts/generate_fields_yaml.py:133
↓ 2 callers
Function
isBot
(ua)
openfda/downloadstats/pipeline.py:67
↓ 2 callers
Function
load_mapping
(es, index_name, type_name, mapping_file_or_dict)
openfda/elasticsearch_requests.py:26
↓ 2 callers
Method
map
(self, key, value, output)
openfda/registration/pipeline.py:122
↓ 2 callers
Method
map_shard
(self, map_input, map_output)
openfda/device_udi/pipeline.py:60
↓ 2 callers
Function
normalize_product_name
Simple drugname normalization: strip punctuation and whitespace and lowercase.
openfda/adae/annotate.py:12
↓ 2 callers
Function
normalize_product_ndc
Simple ndc normalization: strip letters, whitespace, and trim 10 digit ndcs.
openfda/adae/annotate.py:17
↓ 2 callers
Method
output
(self)
openfda/drugsfda/pipeline.py:462
↓ 2 callers
Method
output
(self)
openfda/annotation_table/pipeline.py:142
↓ 2 callers
Method
output
(self)
openfda/annotation_table/pipeline.py:158
↓ 2 callers
Method
output
(self)
openfda/annotation_table/pipeline.py:195
↓ 2 callers
Method
output
(self)
openfda/annotation_table/pipeline.py:297
↓ 2 callers
Method
output
(self)
openfda/ndc/pipeline.py:168
↓ 2 callers
Method
output
(self)
openfda/ndc/pipeline.py:266
↓ 2 callers
Method
output
(self)
openfda/ndc/pipeline.py:312
↓ 2 callers
Method
output
(self)
openfda/ndc/pipeline.py:331
↓ 2 callers
Method
output
(self)
openfda/registration/pipeline.py:219
↓ 2 callers
Method
output
(self)
openfda/spl/pipeline.py:78
↓ 2 callers
Method
output
(self)
openfda/faers/pipeline.py:131
↓ 2 callers
Method
output
(self)
openfda/nsde/pipeline.py:23
↓ 2 callers
Method
output
(self)
openfda/device_recall/pipeline.py:184
↓ 2 callers
Method
output
(self)
openfda/classification/pipeline.py:97
↓ 2 callers
Method
output
(self)
openfda/device_pma/pipeline.py:65
↓ 2 callers
Method
output
(self)
openfda/res/pipeline.py:88
↓ 2 callers
Function
pluck
A helper function for extracting a specific subset of keys from a dictionary.
openfda/device_harmonization/pipeline.py:100
↓ 2 callers
Function
print_count
(name, query)
scripts/generate_tests.py:37
↓ 2 callers
Method
reformat_date
(self, str_val)
openfda/device_recall/pipeline.py:243
↓ 2 callers
Method
requires
(self)
openfda/covid19serology/pipeline.py:60
↓ 2 callers
Method
run
(self)
openfda/ndc/pipeline.py:92
↓ 2 callers
Method
run
(self)
openfda/ndc/pipeline.py:116
↓ 2 callers
Method
run
(self)
openfda/ndc/pipeline.py:334
↓ 2 callers
Method
run
(self)
openfda/adae/pipeline.py:370
↓ 2 callers
Method
run
(self)
openfda/covid19serology/pipeline.py:66
↓ 2 callers
Function
soup_with_retry
(url, use_cache=True)
openfda/device_recall/pipeline.py:54
↓ 2 callers
Function
test_fresh_index
()
openfda/tests/index_util_test.py:20
↓ 2 callers
Function
upca_valid
(chk)
openfda/res/ean.py:85
↓ 2 callers
Function
upce2a
(chk)
openfda/res/ean.py:114
↓ 1 callers
Function
AddHarmonizedRowToOpenfda
(openfda, row)
openfda/drugsfda/annotate.py:39
↓ 1 callers
Function
AddHarmonizedRowToOpenfda
(openfda, row)
openfda/ndc/annotate.py:51
↓ 1 callers
Function
AddHarmonizedRowToOpenfda
(openfda, row)
openfda/spl/annotate.py:51
↓ 1 callers
Function
AddHarmonizedRowToOpenfda
(openfda, row)
openfda/faers/annotate.py:58
↓ 1 callers
Function
AddHarmonizedRowToOpenfda
(openfda, row)
openfda/adae/annotate.py:65
↓ 1 callers
Function
AddSearchAfter
(ejsBody, params)
api/faers/elasticsearch_query.js:207
↓ 1 callers
Function
AnnotateDrug
(drug, harmonized_dict)
openfda/faers/annotate.py:114
↓ 1 callers
Function
AnnotateDrug
(drug, harmonized_dict)
openfda/adae/annotate.py:133
↓ 1 callers
Function
AnnotateEvent
(event, version, harmonized_dict)
openfda/faers/annotate.py:132
↓ 1 callers
Function
AnnotateEvent
(event, harmonized_dict)
openfda/adae/annotate.py:140
↓ 1 callers
Function
AnnotateEvent
Doing cleanup work here so that the json to be loaded in to ES is date friendly and the naming conventions line up with the API standard
openfda/res/annotate.py:165
↓ 1 callers
Function
AnnotateLabel
(label, harmonized_dict)
openfda/spl/annotate.py:114
↓ 1 callers
Function
AnnotateRecall
(recall, harmonized_dict)
openfda/res/annotate.py:148
↓ 1 callers
Function
ExtractXMLFromNestedZip
(zip_filename, output_dir, exclude_images=True)
openfda/annotation_table/pipeline.py:120
↓ 1 callers
Function
UpdateIndexInformation
(client, index_info)
api/faers/api.js:355
↓ 1 callers
Function
XML2JSON
(input_file)
openfda/spl/process_barcodes.py:23
↓ 1 callers
Method
__init__
(self, harmonized_db)
openfda/device_harmonization/pipeline.py:157
↓ 1 callers
Method
__init__
(self, master)
openfda/parallel/mapreduce.py:110
↓ 1 callers
Method
__init__
(self, **kw)
openfda/parallel/outputs.py:28
↓ 1 callers
Method
__iter__
(self)
openfda/parallel/sharded_db.py:54
↓ 1 callers
Method
_download_with_retry
(self, url, target_name)
openfda/faers/pipeline.py:47
↓ 1 callers
Method
_extract
Moving this code from the `spl_harmonization` file, since it is the only part of that file that is needed now that we have converted to a
openfda/annotation_table/pipeline.py:456
↓ 1 callers
Method
_fetch
(self)
openfda/faers/pipeline.py:41
↓ 1 callers
Function
_fix_date
Converts input dates for known formats to a standard format that is Elasticsearch friendly. Returns the input_date if it is not a known f
openfda/maude/pipeline.py:237
↓ 1 callers
Method
_generate_doc_id
Hash function used to create unique IDs for the reports
openfda/res/pipeline.py:142
↓ 1 callers
Function
_get_ndc_type
Identifying the NDC type is based on string length WITHOUT '-', we need to strip all non-numeric characters before we look at the length
openfda/res/annotate.py:58
↓ 1 callers
Function
_insert_or_update
(recall, code_type, code_value)
openfda/res/annotate.py:72
↓ 1 callers
Method
_join
(self, values)
openfda/annotation_table/pipeline.py:631
↓ 1 callers
Method
_join
(self, values)
openfda/registration/pipeline.py:253
↓ 1 callers
Method
_join
(self, values)
openfda/registration/pipeline.py:299
↓ 1 callers
Method
_join
(self, values)
openfda/registration/pipeline.py:369
↓ 1 callers
Method
_join
(self, values)
openfda/registration/pipeline.py:408
↓ 1 callers
Method
_join
(self, values)
openfda/registration/pipeline.py:447
↓ 1 callers
Method
_join
(self, key, values)
openfda/maude/pipeline.py:506
↓ 1 callers
Function
_make_date_range_endpoint_batch
Helper function to make the export quarters code more readable. This function does two things: exports all data that is NOT in between two
openfda/export/pipeline.py:198
↓ 1 callers
Function
_make_display_name
Isolating the thorny naming logic for the display name in a helper function. The naming is solely present for url cleanliness. Possib
openfda/index_util.py:80
↓ 1 callers
Method
_map_incremental
(self, map_input)
openfda/index_util.py:401
↓ 1 callers
Method
_map_non_incremental
(self, map_input)
openfda/index_util.py:409
↓ 1 callers
Method
_run
(self)
openfda/index_util.py:477
↓ 1 callers
Method
_transform
Takes several rows for the same report_number and merges them into a single report object, which is the final JSON representation, ba
openfda/caers/pipeline.py:112
↓ 1 callers
Method
add_applications_docs
(self, submissions, app_key)
openfda/drugsfda/pipeline.py:632
↓ 1 callers
Method
add_marketing_status
(self, products, app_key)
openfda/drugsfda/pipeline.py:597
↓ 1 callers
Method
add_products
(self, application)
openfda/drugsfda/pipeline.py:589
↓ 1 callers
Method
add_submissions
(self, application)
openfda/drugsfda/pipeline.py:616
↓ 1 callers
Method
add_submissions_property_type
(self, submissions, app_key)
openfda/drugsfda/pipeline.py:624
↓ 1 callers
Method
add_te
(self, products, app_key)
openfda/drugsfda/pipeline.py:605
↓ 1 callers
Function
annotate_drug
(drug, harmonized_dict)
openfda/drugsfda/annotate.py:96
↓ 1 callers
Function
annotate_drug
(drug, harmonized_dict)
openfda/ndc/annotate.py:88
↓ 1 callers
Function
assert_greater_equal
Just like self.assertTrue(a >= b), but with a nicer default message.
openfda/tests/api_test_helpers.py:134
↓ 1 callers
Method
build_quarters
(self, start_date, end_date)
openfda/export/pipeline.py:167
↓ 1 callers
Method
build_term_filter
(key, term)
openfda/export/pipeline.py:129
↓ 1 callers
Function
byteify
(input)
scripts/generate_schema.py:3
↓ 1 callers
Function
case_insensitive_glob
(pattern)
openfda/faers/xml_to_json.py:57
↓ 1 callers
Function
clean_ndc
(ndc)
openfda/res/extract.py:34
↓ 1 callers
Function
clean_upc
(upc)
openfda/res/extract.py:57
↓ 1 callers
Method
cleaner
(k, v)
openfda/maude/pipeline.py:398
↓ 1 callers
Function
cli
()
scripts/generate_fields_yaml.py:34
↓ 1 callers
Method
compute_splits
The default behavior for splitting files is to have one split per file.
openfda/parallel/inputs.py:57
← previous
next →
101–200 of 1,029, ranked by callers