Skip to content

Commit

Permalink
entities_data
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jun 27, 2024
1 parent 344eaae commit 1fb56b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions datapackage_pipelines_budgetkey/pipelines/simpledb/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ def debug_source(source, debug):
חיפוש טקסט חופשי - לפי שם המשרדו, מטרת התמיכה *בלבד*!
השתמש בשדות budget_code ו entity_id בשליפות ב-db ולא בשדה entity_name או support_title.
לפני סינון לפי שדה supporting_ministry, בדוק את הערכים הזמינים (distinct query) כדי לבחור בצורה נכונה.
שים לב שאתה מתייחס בצורה נכונה לשדה value_kind - כדי לא לסכום תקציבים ותשלומים באופן שגוי.
''',
fields=[
dict(
Expand Down Expand Up @@ -626,6 +627,7 @@ def get_flow(table, params, debug=False):
search = params.get('search')
steps.append(DF.load(f'{source}/datapackage.json', limit_rows=10000 if debug else None))
steps.append(DF.update_resource(-1, description=description, name=table, search=search))
steps.append(DF.set_primary_key(None))

field_names = []
for field in fields:
Expand Down

0 comments on commit 1fb56b7

Please sign in to comment.