This repo has 2 different projects: EnqueteData & RDWData.
In EnqueteData I am writing a simple project where I gather the data from a dataset from a json file. The user can receive certain columns from the dataset by using the textbox on the HTMLpage. After the user typed his or her query, the program will then check if the user typed a valid input. If the input is valid, the program will try to 'clean' the data. Empty values, wrong format values and whitespaces will be fixed. If the program is unable to fix a certain value, the program will return a warning but continue with the other values. That way the user will still receive his or her preferred column. For more information about the development of this project, navigate to my wiki
I am writing a simple project where I am practising with receiving data from an api. I'm using the same html and textinput from my previous project in this repo. I will try to collect specific columns and clean them. Besides that I will compare columns with eachother to find interesting data. For the data I will be using different api's from RDW. I want to find answers for my main question
I'm planning to make an interactive parkingarea that will visualize per city how many parkingspots are availible for people with a phisical limitation
This was just the beginning of cleaning the RDW-data. Please navigate to my frontend data section in the repo.
According to the Central Bureau of Statistics of the Netherlands, a lot of citizenry have one or more phisical limitation. More then 13% has a phisical limitation. Still, according to the RDWDataset, most parkinggarages are not accessible for those citizenry. I want to research how many parkingspots are availible per province, and how many are required in percentage according to the numbers of the Central Bureau of Statistics.
To begin my research, I set up a series of questions:
Which province in the Netherlands is the best province to live for people with a phisical limitation when you look at the accessibility of parkingspots?
- What is the ratio of the overall capacity and availible parking spaces for people with a disability per province?
- What is the ratio of the total number of parking garages and accessible parking garages for people with a disability per province?
- What is the percentage of people with a physical disability per province?
I want to visualize the accessibility with percentages of availible parking spaces. I want to use a parkingarea and color these according to their accessibility:
Before I can visualize my concept, I need to collect the data that I need:
Columns: AreaId, AreaManagerId, Capaciteit and DisabledAccess
With these columns I can receive the following data:
- Capacity per parkinggarage
- Accessibility of parkinggarage for disabled people
Columns: ParkingAdressReference, Province
With these columns I can receive the following data:
- Province of parkinggarage
Columns: Filter: Leeftijd=Totaal, Provincie, Functiebeperking
With these columns I can receive the following data:
- Percentage of people with a phisical limitation
For more information about my research, other research questions I asked myself and my assumpions, please visit my wiki
As of now, this project has the following features:
- User can give input on which column he or she wants to see in the console
- UserInput will be checked and converted to a valid input if possible
- The column 'oogKleur' will be coverted and cleaned into usable data
As of now, this project has the following features:
- Project will make a connection to an api from RDW
- User can give input on which column he or she wants to see in the console
For this project I am using a dataset of an enquëte from Datavisualisatie 2. This dataset contains several interesting insights about CMD-students. This dataset has been created by Jan-Jaap Rijpkema and converted into json by Jonah Meijers. The data for this dataset has been collected in September from CMD-students who are in the beginning of their third year.
Aw of now, the only data used in this project is one api from RDW with specific data of parkingarea's (capacity, maximum height, maximum weight etc...) RDWData: Parking Specifications API
To try this project for yourself, you can clone the github repo to your locale machine. Just follow these steps
Navigate with your terminal to the desired folder where you want to clone this repo
cd "c:/foldername1/foldername2/destination"
Optional Use this command to create a new folder where you want to clone this repo.
mkdir "foldername"
Optional Don't forget to navigate to that folder with using the cd command
Optional If you desire to make changes to this project run this command to make that possible
git init
To clone this project and receive it on your locale machine, use this command
git clone https://github.com/marcoFijan/functional-programming.git
After this command your computer will download the files automaticly
Navigate to the folder where you cloned the git repository and launch the index.html
To see your results, you need to look in the console Right-click on the webpage and click 'inspect' or 'inspect element' Then, click on the tab called 'console'
That's it. You are all set up!
Navigate to the code on Github and press the 'code' button. After pressing the 'code' button select 'download as zip'
After downloading the files navigate to a folder of your choice and copy the files from the zip folder to that folder.
Navigate to that folder where you put the files and launch the index.html
To see your results, you need to look in the console Right-click on the webpage and click 'inspect' or 'inspect element' Then, click on the tab called 'console'
That's it. You are all set up!
To just try the project without the downloading hastle navigate to the live deploy
- Jan-Jaap Rijpkema for collecting the dataset
- Jonah Meijers for converting the dataset to .json
- stackoverflow for multiple difficult code (see index.js for the sources)
- Laurens Aarnoudse for the live code demo's and explaining functional programming
- Chelsea Doeleman for tips on how to make better functional programming functions