How can I get a table from a website?
Afficher commentaires plus anciens
I am trying to pull the table from the following website into matlab:
I have tried using the readtable function which has worked on other websites but not this one. I assume the table on the attached website is formated in a different way (I really don't know much about this area/websites). How can I write a function to pull the data in the attached website into a matlab table?
Thanks!
Réponses (1)
How about this (it is not a complete answer, but it can be worked around :) .. ):
URL = 'https://www.cbssports.com/fantasy/football/stats/posvsdef/RB/DAL/teambreakdown/standard';
DATA = readtable(URL, FileType="html",ReadVariableNames=false)
DATA(1:3,:)=[]
Catégories
En savoir plus sur Web Services dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!