Python program with a timeframe input that loads JSON file(s) and creates a new one based on the timeframe. In other words: A Python program that turns MMA-fighters data to stats data based on the timeframe.

Completed Posted 1 year ago Paid on delivery
Completed Paid on delivery

So I have multiple JSON files (each file represents a country of fighters) with MMA fighters from all around the world. The file structure in the JSON-files are generally the same, but some of the fighters have more data than others. The goal of the project is that your program can take in a timeframe and then either take one JSON file or multiple JSON files and create stats based on the timeframe and divide files into sub-categories based on their weight class, then that file will create sub-files based on specific values.

The number of fighters per stat will be 20 best fighters for that stat.

The stats that the program has to produce is:

-Most wins

-Most fights

-Most wins by knockouts

-Most wins by submissions

-Most wins by decisions

-Most wins in the first round

-Most wins in the second round

-Most wins in the third round

-Longest current streak(which is found in details, but one of their matches has to be present in the current time frame)

Example: so for most wins, it will be the top 20 fighters with most wins. For most fights, it will be the top 20 fighters with most fights and so on.

All these stats will be based on the timeframe determined by the date (for example, the last 12 months). And to calculate that date you have to use all the fighter's matches inside that timeframe.

Example: For most fights in the last 12 months - you have to calculate how many fights a fighter has had in the last 12 months.

Then we have the sub-categories which are their weight class. If I, for example, use the file with all the Norwegian fighters the program has to produce the stats (top 20 per stat) as stated above for all the weight classes together (no filtering for weight class), but it also has to create them separately for all the weight classes (filtered by their weight classes).

The weight classes are:

-Flyweight

-Bantamweight

-Featherweight

-Lightweight

-Welterweight

-Middleweight

-Light heavyweight

-Heavyweight

Their weight class for each fighter can be found in the child weigh_class which is under the parent details. If the value of that key is also null you can use the last match of the fighter, because it also has the keyword weight_class. If the value of that key is also null, you skip that fighter when creating data for the separate weight classes, but include that fighter when the first category is created, which represents all weight classes as stated earlier.

Then there are the sub-files.

The sub-files will be based on:

-Gender

-if the matches the fighter has fought are either pro or amateur

So if I give the program a JSON file with all the Norwegian fighters, the program has to do all the things stated above and then create new files which will be first based on gender. Then the files that are based on gender will be divided again for pro or amateur.

The gender part is simple. For example, when using the JSON file with Norwegian fighters you will produce the top 20 fighters for each stat, then the top 20 fighters for each stat, but for each weight class. Then do the same thing but now it is the top 20 for females and top 20 for males and then the top 20 for the weight class of each gender.

The pro or amateur part is harder because the pro or amateur is not based on if they are pro at the current moment, but on their matches in the current time frame. For example: if a fighter has fought 11 fights in the last 12 months and 10 of his fights are amateur and 1 is pro, his stat in the first file is 11, but when divided by pro or amateur his fights in the last 12 months in the pro-file will then be 1 and in the amateur-file be 10.

You also don't have to make the changing of the time frame super easy, just changeable, since I program in Swift and I make some web-scraping scripts in Python myself.

Feel free to ask me questions. I will also leave files with the structure of the program and the JSON files you will be working with.

Python JSON

Project ID: #33812604

About the project

27 proposals Remote project Active 1 year ago

Awarded to:

(63 Reviews)
6.7

27 freelancers are bidding on average $190 for this job

saubhagyamweb

Hi Mate, I wish to have a conversation about the project.I can fulfill your requirement as I am a professional developer with 5+ years of quality experience in Python Development,delivering quality product. I am inter More

$250 USD in 7 days
(35 Reviews)
6.6
Devrits

Hey! I am an expert Python programmer with skills including Python and JSON. Passionate C++ and Python Engineer with 10+ years of professional experience in full-cycle product development. All my clients know me as a More

$250 USD in 5 days
(15 Reviews)
5.7
letshappy

i read the project and i am python expert who will complete your project

$230 USD in 5 days
(18 Reviews)
5.4
merinsinha

I can do it. Python Expert. As 9+ years experiences in these field. I can give good quality work. I have read the guidelines of your work.I believe that i can provide you the best quality works you are anticipating fr More

$300 USD in 7 days
(32 Reviews)
5.1
varonedgar

- I CAN COMPLETE YOUR PROJECT PERFECTLY ON TIME - Hello, I am senior developer with enough experiences on Python, JSON Parsing, Data Structure, Algorithm For 7+ years. I am majoring on Python, JSON Parsing, Data Struct More

$140 USD in 7 days
(6 Reviews)
4.4
vergaraeduardo32

Hi. I have just fiinished checking of your proposal. Speaking of your project, it needs good knowledge of data processing with python. To be frank, your project has a large scale, but I can do it perfectly. In terms of More

$100 USD in 3 days
(4 Reviews)
4.4
mustafahussein15

I can build ghe python program you need I am ready to show you a sample first Gretting ! More

$30 USD in 1 day
(5 Reviews)
4.3
dataspro

Hello: It is a pleasure to communicate with you. My name is Anthony Muñoz, I am the lead engineer for DSPro IT agency and I would like to offer you my professional services. I have more than 10 years of working as a More

$231 USD in 7 days
(1 Review)
3.8
nguyentuan90

Hi, I have read your post carefully. I can finish your task perfectly in time. I have full experienced with python, json And I have also worked with these similar projects. We can discuss more detail via chatting. Than More

$100 USD in 3 days
(9 Reviews)
3.8
shaojiang008

Hello, hope you are doing well. As an experienced python developer with 20 years of experience in python. Specialized in many python libraries like pandas, NumPy, matplotlib, scikit-learn, and so on. I developed many A More

$250 USD in 7 days
(4 Reviews)
3.8
MohammadKassem01

Hello, I'm Mohammad. I'm Python/Web Scraping/Automation Expert. I’ve gone through your requirements, it perfectly matches my skills. I am interested to work with you on this project. I've been working on scraping e-c More

$140 USD in 3 days
(8 Reviews)
2.9
valisergi337

Yes! It is easy, I can do on time. I have Read All Project details and descriptions regarding 'Python program with a timeframe input that loads JSON file(s) and creates a new one based on the timeframe. In other words: More

$140 USD in 7 days
(4 Reviews)
2.6
alihassan321

Hi, I am full stack developer having 8+ yrs of experience. I have extensive experience in python script along with API creation and using of API. I have read description of your project, I can automate this with python More

$250 USD in 7 days
(3 Reviews)
2.4
eslamafify

Hello Hope everything is well with you. I'm a python programmer.I did different projects before including data mining,analysis,..etc. I read your job and I'm able to do it. Let's discuss more about your job.

$150 USD in 7 days
(4 Reviews)
2.1
akshaytejus02

Hi I am a python developer , I have already developed python applications on this platform. Just let's get to chat regarding your app.

$140 USD in 7 days
(3 Reviews)
1.6
gradeheroclub

HELLO DEAR EMPLOYER, First receive warm greetings, and hoping you are good, i welcome you to the home of Amazing services and quality. I have carefully gone through your project titled (Python program with a timeframe More

$250 USD in 2 days
(0 Reviews)
0.0
reynoldsmykel03

Hi there, ★★★ Python Expert ★★★ 5+ Years of Experience ★★★ I've read requirements and ready to create program with a timeframe input that loads JSON file(s) and creates a new one . My skills and services: ✔️ Simple / More

$200 USD in 3 days
(0 Reviews)
0.0
tranloanhanu

Hello, I have rich experience in Python programming. I have read all your explanations carefully and fully understand your requirements. So I am sure I can give you correct and good results. I would appreciate it if yo More

$100 USD in 2 days
(0 Reviews)
0.0
hussainaus1998

Hi, there. Python Expert is here. Thank you for your posting and I am sure one of the freelancers you're looking for is just me. You will have no regret and full satisfaction without doubt because this job just fits on More

$90 USD in 2 days
(0 Reviews)
0.0
rosoriano84

Hello, vebbis123! ⭐⭐⭐⭐⭐ I am very interested in your project and have a lot of experience in Python, JSON, and etc, which are the necessary technologies for your project. Send me a message so we can discuss in more de More

$150 USD in 3 days
(0 Reviews)
0.0