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

1

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.

References

tbd...

See Also

findScorePercentile, parseResults, parseSchools, brewdata, getGradCafeData

Examples

1
2
test = "http://www.thegradcafe.com/survey/index.php?q=statistics&t=a&pp=250&o=&p=8"
getMaxPages( test )