So I am having some issue's in pulling the table data from www.nextgenstats.nfl.com.
I have tried the HTMLTable reader, and I keep receiving an error message when trying to connect to it. Any suggestions would be great!
So I am having some issue's in pulling the table data from www.nextgenstats.nfl.com.
I have tried the HTMLTable reader, and I keep receiving an error message when trying to connect to it. Any suggestions would be great!
Hi @jasonberneathy what error message are you recieving?
Hi @jasonberneathy what error message are you recieving?
I keep recieving a "Failed to retrieve feature types." Error...
With the following listed in the log.
HTML Table Reader: Could not open HTML file 'https://nextgenstats.nfl.com/stats/passing#yards' for reading. ' ' : 'No such file or directory'
followed by:
Failed to obtain any schemas from reader 'HTMLTABLE' from 1 dataset. This may be due to invalid datasets or format accessibility issues due to licensing, dependencies, or module loading. See logfile for more information.
If you just need the data for one time a workaround for you could be the following. The Table is accessible in the console /inspector of your browser (i used firefox for this try). I got the information you needed by going to the options - developer - inspector. Then go to the section you want and right click on it and choose edit as html and save the text. After this you can parse the data in FME and get it back into the same structure.
https://developer.mozilla.org/nl/docs/Tools/Page_Inspector/How_to/Open_the_Inspector
If you just need the data for one time a workaround for you could be the following. The Table is accessible in the console /inspector of your browser (i used firefox for this try). I got the information you needed by going to the options - developer - inspector. Then go to the section you want and right click on it and choose edit as html and save the text. After this you can parse the data in FME and get it back into the same structure.
https://developer.mozilla.org/nl/docs/Tools/Page_Inspector/How_to/Open_the_Inspector
Hi @jasonberneathy what error message are you recieving?
Then in FME use JSON reader, put the JSON link for JSON source dataset, then Schema Scan mode to JSON Query, and add one Feature Type 'json_featuretype' with Query 'jsons"stats"]