2021: Week 40 - Animal Adoptions

 Challenge By: Jenny Martin

I'm sure if we took a poll, there would be a large number of us who have become pet owners in the past couple of years. I myself have become the owner of a little kitten called Pyrrha. 

It got me wanting to play with some pet data and I came across Austin Animal Center. They claim over 90% of animals entering the center, are adopted, transferred to rescue or returned to their owners, which is impressive and a statistic we can validate for ourselves!

Input

Feel free to grab your own up to date data from the link above, or use this extract that we have downloaded:


Requirements

  • Input the data
  • Remove the duplicated date field
  • Filter to only cats and dogs (the other animals have too small a data sample)
  • Group up the Outcome Type field into 2 groups:
    • Adopted, Returned to Owner or Transferred
    • Other
  • Calculate the % of Total for each Outcome Type Grouping and for each Animal Type
  • Output the data

Output


  • 3 fields
    • Animal Type
    • Adopted, Returned to Owner or Transferred
    • Other
  • 2 rows (3 including headers)
After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @Datajedininja@JennyMartinDS14 & @TomProwse1

You can also post your solution on the Tableau Forum where we have a Preppin' Data community page. Post your solutions and ask questions if you need any help! 



Popular posts from this blog

2023: Week 1 The Data Source Bank

2023: Week 2 - International Bank Account Numbers

How to...Handle Free Text