digitaldutch / roaddanger.org Goto Github PK
View Code? Open in Web Editor NEWA website and database for news reports about traffic crashes around the world.
Home Page: https://www.roaddanger.org/
License: MIT License
A website and database for news reports about traffic crashes around the world.
Home Page: https://www.roaddanger.org/
License: MIT License
Sorry, another issue... (I think).
It seems as if not all data is exported in the gzip JSON file.
When exporting the data via https://nl.roaddanger.org/export/ I get:
roaddanger_org_data_all_text.json.gz
(about 4.66 MB)roaddanger_org_data_all_text.json
(about 20.31 MB)jq length .\roaddanger_org_data_all_text.json
I get 10000 itemsHowever, when I visit https://nl.roaddanger.org/statistics/general I see there are approximately 14k crashes (this corresponds with the current crash ID's):
Due to the neat amount of 10000 items I suspect there is some limiting going on. I don't know PHP, but the export function does mention $maxRows = 10000;
and this variable is used later in the SQL query. Could this be the culprit?
Steps to reproduce:
The hover shows 213 deaths, while the matrix shows 210.
Similarly this happens with the eenzijdig x autododen:
Example URL: https://regio15.nl/nieuws/ongevallen/36619/wegvervoer-ongeval-letsel-neherkade-2980-den-haag/
Steps to reproduce:
+
sign in the upper rightExpected result: the article is saved and text from the "Tekst" field is used as the summary.
Actual result: error message is shown with the text: "Artikel samenvatting niet ingevuld".
Workaround: in the browser inspector I can remove the data-readonlyhelper
attribute of the editArticleText
element and paste in my own summary, then I can save it. But this quite cumbersome.
Ik zie dat je deze in het Engels doet...
I was trying to add an article on my iPad, but adding people does not seem to work there. Without adding people, I can't submit the article, so I had to switch to my laptop.
After submitting I had some more debugging:
I think this is because of the use of <span>
and onclick
. When there is no keyboard connected, iPad will be compatible and fire onclicks for tabs. But when the keyboard is connected, some keyboards will have a mouse, so it will probably distinguish between onclick and ontab. (Mine has no mouse, but it seems like it still distinguishes.)
One could think the bug is with Apple, but the better way is not to use a <span>
when you want to use it to click on. The accessible option would be to use a <input type="radio">
, which does what you want out of the box, plus has advantages for screenreaders and different devices :)
Hello,
It would be helpful if there would be a new transportation mode "speed pedelec"/"high speed e-bike". I think this could be a valuable addition because:
They sometimes get a bad reputation of being dangerous because they, in Belgium at least, are oftentimes allowed to make use of the cycle path, which is often not build with the higher average speed of the pedelec in mind. It would be interesting to see data about how often they are involved in an accident vs. a "normal" bicycle.
Currently it is not clear how they should be categorised. Some instances view them as mopeds (for example the Belgian traffic code), while other see them as bicycles (for example the Flemish citizen science project Straatvinken). It is not good for the data if in some collisions the speed pedelecs involved are categorised as bicycles and other as mopeds.
In my humble opinion, a new category would be very helpful.
An other possibility would be to classify the pedelec as a bicycle or a moped and then changing the name of the category to bicycle/pedelec for example so it is clear where they need to be placed.
Thank you very much!
Fietsster overleden na verkeersongeval
I wanted to change unknown vehicle to something that represents a mobile home as best as possible. But the it returned the following error:
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: '' for column `hetongeluk`.`crashpersons`.`child` at row 1
I changed something. But the old unknown vehicle is deleted, and the new vehicle is not added.
On further inspection, I cannot add an accident. I Added the HAR file as txt.
nl.roaddanger.org.har.txt.
It is possible to reproduce this in my Vivaldi (chromium) and Firefox browser.
Steps to reproduce:
The browser console shows:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) /ajax.php?function=getStatistics:1
Hi. I see a certificate error NET::ERR_CERT_DATE_INVALID at https://gb.roaddanger.org/
Is there any chance to extend thecrashes.org to provide a regional analysis of the data? I'm adding news articles from Aachen/Germany at the moment and at some point there could be enough data that a regional analysis could make sense.
When pushing the "injury" or "child" buttons in the counterpary in crashes section, nothing happens. It is also not possible to deselect "Injury:dead".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.