getWaterQ_MEP_all: get PPP list from a single page

Description Usage Arguments Details References Examples

View source: R/getWQ.R

Description

get PPP list from a single page

Usage

1
getWaterQ_MEP_all(year, week, station1, station2, proxy = FALSE)

Arguments

year

In which year you would like to scrape

week

In which week you would like to scrape, can be an array, like 3:5

station1

the start station index on the page

station2

the end station index on the page

proxy

Whether to use proxy, default is FALSE

Details

Get monitoring data of different stations from Minitsry of Environmental Protection of China (http://datacenter.mep.gov.cn/report/getCountGraph.do?type=runQianWater). Using this function you will get data of all the stations. Since the number of stations vary with time, using this function, you have to make sure that within the period you are scrapping, the number of stations keep consistant.

References

http://datacenter.mee.gov.cn/report/getCountGraph.do?type=runQianWater

Examples

1
2
3
4
5
6
## Not run: 
# get data from 1st station to 5th station of the 3rd week of 2016
a <- getWaterQ_MEP_all(2016, 3, 1, 5)


## End(Not run)

gfer documentation built on Feb. 6, 2022, 5:06 p.m.