getMaxPages:
Helper Function to Find the Maximum Number of Grad Cafe Focus Pages
Description
getMaxPages retrieves the max number of data webpages available for processing.
Results Search data is served up to the getGradCafeData function one page at a
time. This function ensures that the search for results does not run forever.
Usage
getMaxPages( url )
Arguments
url
url is the web address for the Grad Cafe Results page. For example,
if the desired search focus is 'statistics', then the url is
'http://www.thegradcafe.com/survey/index.php?q=statistics&t=a&pp=250&o=&p=2'.
Value
getMaxPages returns the total number of pages of Grad Cafe Results.