Skip to content

Commit

Permalink
ENT-3534 Get the jobs-salary for last 6 months (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
zamanafzal authored Nov 4, 2020
1 parent 90e9fbd commit abf273c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ Change Log
Unreleased
--------------------
[1.1.2] - 2020-10-20
--------------------

* Updating jobs-salary data's query.

[1.1.1] - 2020-10-20
--------------------
Expand Down
2 changes: 1 addition & 1 deletion taxonomy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Your project description goes here.
"""

__version__ = '1.1.1'
__version__ = '1.1.2'

default_app_config = 'taxonomy.apps.TaxonomyConfig' # pylint: disable=invalid-name
10 changes: 2 additions & 8 deletions taxonomy/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,13 @@
JOB_POSTINGS_QUERY_FILTER = {
'filter': {
'when': {
'start': '2020-01',
'end': '2020-06',
'start': str(date.today() - relativedelta(months=6)),
'end': str(date.today()),
'type': 'active'
},
'posting_duration': {
'lower_bound': 0,
'upper_bound': 90
}
},
'rank': {
'by': 'unique_postings',
'min_unique_postings': 1000,
'limit': 20,
'extra_metrics': [
'median_posting_duration',
'median_salary',
Expand Down

0 comments on commit abf273c

Please sign in to comment.