Excel & Analytics
lördag 25 april 2015
PowerQuery: Retreive several web-pages
(page as number) as table =>
let
Source = Web.Page(Web.Contents("http://boxofficemojo.com/yearly/chart/?page=" & Number.ToText(page) & "&view=releasedate&view2=domestic&yr=2013&p=.htm")),
Data1 = Source{1}[Data],
RemoveBottom = Table.RemoveLastN(Data1,3)
in
RemoveBottom
Link:
http://www.mattmasson.com/2014/11/iterating-over-multiple-pages-of-web-data-using-power-query/
Inga kommentarer:
Skicka en kommentar
Senaste inlägg
Äldre inlägg
Startsida
Prenumerera på:
Kommentarer till inlägget (Atom)
Inga kommentarer:
Skicka en kommentar