מילוני למ"ס
רשימת מילונים ופרמטרים בנספח בהמשך.
חיפוש כללי
תבנית
{https://api.cbs.gov.il/dictionary/{subject}/{resource
פרמטרים
|
מאפיין |
סוג |
הסבר |
ברירת מחדל |
|
subject | string | קבוצת שיוך
| |
|
resource | string | שם המילון
| |
|
q | string | טקסט לחיפוש
| "" |
|
string_match_type | BEGINS_WITH CONTAINS EQUALS | סוג החיפוש
| begins_with |
|
sort | string | +field/-field שדה למיון
| "" |
|
expand | True/false up/down resource1.resource2, resource3…. | האם להרחיב ולהציג גם מילונים קשורים.
|
true |
|
fields | F1,f2,r2.f3,r2.f4 | רשימת שדות להצגה (field/resource.field) | * |
|
filter | f1={xxx}&f2={xxx} | מסנן
| |
|
Page | Int>0 | מספר הדף
| 1 |
|
Page_size | Int>0 | גודל הדף
| 100 Max: 250 |
*תמיכה בדפדוף
דוגמאות
https://api.cbs.gov.il/Dictionary/geo/localities
הרחבה - expand
https://api.cbs.gov.il/Dictionary/geo/localities?expand=true&format=xml&download=False&page=1&page_size=50
שאילתא - q
https://api.cbs.gov.il/Dictionary/geo/localities?q=jer&expand=false& format=xml&download=False&page=1&page_size=50
מיון – sort
https://api.cbs.gov.il/Dictionary/geo/localities?expand=false&sort=name_heb&format=xml&download=False&page=1&page_size=50
שדות להצגה – fields
https://api.cbs.gov.il/Dictionary/geo/localities?expand=false&fields=name_eng,name_heb&format=xml&download=False&page=1&page_size=50
סינון לפי ערכי שדות- filter
https://api.cbs.gov.il/Dictionary/geo/localities?organization=2&district=6&expand=false&format=xml&download=False&page=1&page_size=50
תוצאה
בהתאם למילון המבוקש
חיפוש פרטני
תבנית
https://api.cbs.gov.il/dictionary/{subject}/{resource}/{id}
פרמטרים
|
מאפיין |
סוג |
הסבר |
ברירת מחדל |
| subject | string | קבוצת שיוך
| |
| resource | string
| שם המילון
| |
| id | string
id1,id2,id3 ...
| id לחיפוש , מילון מסוים
| |
| sort | +-F1,+-f2
|
+field/-field
| |
| expand | True/false/up/down/resource1.resource2, resource3…. | | true |
| fields | F1,f2,r2.f3,r2.f4 | Fields list (field/resource.field) | * |
|
Page | Int>0 | Page number | 1 |
|
Page_size | Int>0 | Page size | 100 Max: 250 |
*תמיכה בדפדוף
דוגמאות
https://api.cbs.gov.il/Dictionary/Geo/localities/7?expand=true
https://api.cbs.gov.il/Dictionary/geo/localities?id=7&expand=true&format=xml&download=False&page=1&page_size=50
תוצאה
בהתאם למילון המבוקש
נספח
רשימת מילונים
|
קבוצה - Subject |
מילון - Resource
|
| Geo | districts |
Geo
| population_groups |
| Geo | municipal_or_council_status |
Geo
| metropolins |
Geo
| natural_areas |
Geo
| organizational_affiliations |
| Geo | planning_committee |
| Geo | regions |
| Geo | religions |
| Geo | locality_types |
Geo
| localities
|
רשימת פרמטרים
פרמטרים ייחודיים
פרמטרים משותפים
|
פרמטר |
תיאור |
| id | זיהוי מילון מסויים , מהווה מפתח יחד עם השנה
|
| Year | שנה לחיפוש , מהווה מפתח יחד עם id
ברירת מחדל שנה אחרונה שקיימת
|
| |
| name_heb | שם בעברית
|
| name_eng | שם באנגלית |
פרמטרים ייחודיים
https://api.cbs.gov.il/Dictionary/geo/localities
|
מילון |
פרמטר |
localities
| year
|
| localities | id |
| localities | name_heb |
| localities | name_eng |
localities
| district |
| localities | region |
| localities | natural_area |
| localities | planning_committee |
| localities | municipal_or_council_status_symbol |
| localities | metropolin |
| localities | locality_type |
| localities | organization |
| localities | religion |
| localities | total_population |
| localities | total_jews_and_others |
| localities | total_jews |
| localities | total_arabs |
https://api.cbs.gov.il/Dictionary/geo/districts
|
מילון |
פרמטר |
| districts | year |
| districts | id |
| districts | name_heb |
| districts | name_eng |
https://api.cbs.gov.il/Dictionary/geo/regions
|
מילון |
פרמטר |
| regions | year |
| regions | id |
| regions | name_heb |
| regions | name_eng |
https://api.cbs.gov.il/Dictionary/geo/natural_areas
|
מילון |
פרמטר |
| natural_areas | year |
| natural_areas | id |
| natural_areas | name_heb |
| natural_areas | name_eng |
https://api.cbs.gov.il/Dictionary/geo/planning_committee
|
מילון |
פרמטר |
| planning_committee | year |
| planning_committee | id |
| planning_committee | name_heb |
| planning_committee | name_eng |
https://api.cbs.gov.il/Dictionary/geo
|
מילון |
פרמטר |
| municipal_or_council_status | year |
| municipal_or_council_status | id |
| municipal_or_council_status | name_heb |
| municipal_or_council_status | name_eng |
https://api.cbs.gov.il/Dictionary/geo/Metropolins
|
מילון |
פרמטר |
| metropolins | year |
| metropolins | id |
| metropolins | name_heb |
| metropolins | name_eng |
https://api.cbs.gov.il/Dictionary/geo/locality_types
|
מילון |
פרמטר |
| locality_types | year |
| locality_types | id |
| locality_types | name_heb |
| locality_types | name_eng |
https://api.cbs.gov.il/Dictionary/geo/organizational_affiliations
|
מילון |
פרמטר |
| organizational_affiliations | year |
| organizational_affiliations | id |
| organizational_affiliations | name_heb |
| organizational_affiliations | name_eng |
https://api.cbs.gov.il/Dictionary/geo/Religions
|
מילון |
פרמטר |
| religions | year |
| religions | id |
| religions | name_heb |
| religions | name_eng
|
https://api.cbs.gov.il/Dictionary/geo
|
מילון |
פרמטר |
| population_groups | year |
| population_groups | id |
population_groups
| name_heb |
| population_groups | name_eng
|