Skip to content
This repository has been archived by the owner on Oct 15, 2022. It is now read-only.

New Instant Answer Suggestion: Hourly Wage to Salary Instant Answer #2834

Closed
moollaza opened this issue Apr 5, 2016 · 11 comments
Closed

New Instant Answer Suggestion: Hourly Wage to Salary Instant Answer #2834

moollaza opened this issue Apr 5, 2016 · 11 comments

Comments

@moollaza
Copy link
Member

moollaza commented Apr 5, 2016

I was curious to know what an hourly wage of X/hr equates to as a salary, it turns out there's lots of online calculators that do this, but it could be very easily implemented as an Instant Answer.

Some websites are very detailed providing tables of hourly/weekly/bi-weekly/monthly income for a given salary. Some go further and try and evaluate taxes etc.

To start a very basic calculation of a salary for a given wage, or the reverse would be great to have.

@duckduckgo/duckduckhack-contributors is anyone interested in working on this?

Any opinions on what information is most important?

I imagine it should state the assumed hours/week and working weeks/year. If we use a JS-focused Goodie we could use inputs to make all of that configurable.

Alternatively we have Chart.js available and could use that produce a graph that shows a salary for an hourly wage with the axes representing hours/week and weeks/year.

What do you guys think?

@philipmiesbauer
Copy link
Collaborator

Well, taxes and stuff is very much location based, but simple conversion
from hourly to yearly and reversed should be simple enough.
I am wondering how I would recognize the instant answer or how I would ask
it.

Any ideas, suggestions?

On Tue, Apr 5, 2016, 19:02 Zaahir Moolla notifications@github.com wrote:

I was curious to know what an hourly wage of X/hr equates to as a salary,
it turns out there's lots of online calculators that do this, but it could
be very easily implemented as an Instant Answer.

Some websites are very detailed providing tables of
hourly/weekly/bi-weekly/monthly income for a given salary. Some go further
and try and evaluate taxes etc.

To start a very basic calculation of a salary for a given wage, or the
reverse would be great to have.

@duckduckgo/duckduckhack-contributors
https://github.com/orgs/duckduckgo/teams/duckduckhack-contributors is
anyone interested in working on this?

Any opinions on what information is most important?

I imagine it should state the assumed hours/week and working weeks/year.
If we use a JS-focused Goodie we could use inputs to make all of that
configurable.

Alternatively we have Chart.js available and could use that produce a
graph that shows a salary for an hourly wage with the axes representing
hours/week and weeks/year.

What do you guys think?


You are receiving this because you are on a team that was mentioned.
Reply to this email directly or view it on GitHub
#2834

@philipmiesbauer
Copy link
Collaborator

I really like the idea though

On Tue, Apr 5, 2016, 20:10 Philip Miesbauer philip.miesbauer@gmail.com
wrote:

Well, taxes and stuff is very much location based, but simple conversion
from hourly to yearly and reversed should be simple enough.
I am wondering how I would recognize the instant answer or how I would ask
it.

Any ideas, suggestions?

On Tue, Apr 5, 2016, 19:02 Zaahir Moolla notifications@github.com wrote:

I was curious to know what an hourly wage of X/hr equates to as a salary,
it turns out there's lots of online calculators that do this, but it could
be very easily implemented as an Instant Answer.

Some websites are very detailed providing tables of
hourly/weekly/bi-weekly/monthly income for a given salary. Some go further
and try and evaluate taxes etc.

To start a very basic calculation of a salary for a given wage, or the
reverse would be great to have.

@duckduckgo/duckduckhack-contributors
https://github.com/orgs/duckduckgo/teams/duckduckhack-contributors is
anyone interested in working on this?

Any opinions on what information is most important?

I imagine it should state the assumed hours/week and working weeks/year.
If we use a JS-focused Goodie we could use inputs to make all of that
configurable.

Alternatively we have Chart.js available and could use that produce a
graph that shows a salary for an hourly wage with the axes representing
hours/week and weeks/year.

What do you guys think?


You are receiving this because you are on a team that was mentioned.
Reply to this email directly or view it on GitHub
#2834

@gvanwaelvelde
Copy link
Contributor

Maybe if you search for '10 dollars per hour' you could show all conversions to weekly, monthly and yearly salary.
Other sample queries: annual salary 20000, 200 dollars a week, ...
Problem is that some these queries may have others meanings. For example '10 dollars per hour' might also be a rental price for some equipment or something.

@mattr555
Copy link
Collaborator

mattr555 commented Apr 5, 2016

If you need inspiration in the form of an already-live IA, one analog could be the uptime calculator.

@kfrz
Copy link

kfrz commented Jun 23, 2016

Searching for this exact issue --I think I could take a swing at this, if it was kept simple and "assumed" hours/week. @gvanwaelvelde : you're not wrong the meanings could be ambiguous but when used with the converter operator, e.g. "$20/hr in salary" or "$30k in hourly," it should be easily parsed.

Maybe there exists an API with detailed data out there, for more i18n-ness. . I'll do some searching but bumping this because I'd like to start contributing to this awesome engine!

@moollaza
Copy link
Member Author

moollaza commented Jun 23, 2016

I think I could take a swing at this, if it was kept simple and "assumed" hours/week

@kfrz that's a good place to start. Let's see how that looks and then we can adjust it.

If you're comfortable with JS, we can go the more interactive route and provide inputs for the user to adjust. This could help make it more clear what assumptions we've made and let them play around with the numbers.

There are a few "Interactive" IAs in progress and live right now:

@philipmiesbauer
Copy link
Collaborator

Hi sorry, what is a good idea? I am caught off guard a bit right now.

On Thu, Jun 23, 2016, 21:35 Zaahir Moolla notifications@github.com wrote:

I think I could take a swing at this, if it was kept simple and "assumed"
hours/week

@philipmiesbauer https://github.com/philipmiesbauer that's a good place
to start. Let's see how that looks and then we can adjust it.

If you're comfortable with JS, we can go the more interactive route and
provide inputs for the user to adjust. This could help make it more clear
what assumptions we've made and let them play around with the numbers.

There are a few "Interactive" IAs in progress and live right now:


You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub
#2834 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANKFpaJNADmoskRZZJWrHGrdEqRZtQBUks5qOu33gaJpZM4IAVC8
.

@moollaza
Copy link
Member Author

@philipmiesbauer apologies, I mentioned the wrong person! Meant to mention @kfrz ^^^

@philipmiesbauer
Copy link
Collaborator

Ok, that makes more sense. :D Cheers and best regards

Zaahir Moolla notifications@github.com schrieb am Fr., 24. Juni 2016 um
21:53 Uhr:

@philipmiesbauer https://github.com/philipmiesbauer apologies, I
mentioned the wrong person! Meant to mention @kfrz
https://github.com/kfrz ^^^


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#2834 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ANKFpavi23vsEJ9GlgNWFLNYIwmgCVjSks5qPEPWgaJpZM4IAVC8
.

@n-sayenko
Copy link

n-sayenko commented Jul 27, 2017

Is anyone working on this? I'd like to give it a shot if not! @moollaza

@kfrz
Copy link

kfrz commented Jul 27, 2017

@n-sayenko go for it! I never got around to finishing my attempt, but let me know if you'd like some help or a code review :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

7 participants