R/get_undata.R
undata_url_to_query.Rd
Convert the undata url to the query argument needed to reference specific tables
undata_url_to_query(table_url, base_url = "http://data.un.org/Data.aspx")
table_url | [ |
---|---|
base_url | [ |
[list()
] of query parameters to pass to get_undata_table
or
other related undata functions.
Other get_undata:
download_undata_table()
,
get_undata_nrecords()
,
get_undata_update_dates()
table_url <- "http://data.un.org/Data.aspx?d=PopDiv&f=variableID%3a12" query <- undata_url_to_query(table_url)