get_data_for_country.Rd
Gets the data of a particular type for a country
get_data_for_country( list_of_countries_sheet_url = "https://docs.google.com/spreadsheets/d/13QlFTCJJXlNUp52bn6eM3eFhH_cM1DMTFo-VNwB4Q4U", country_value, type_value, AMR_type = NULL, user_email = NULL, sleep = 5 )
country_value | The name of the country |
---|---|
type_value | one of AMR <SPECIES>, Antimicrobial Susceptibility Testing, Combined Data, Epidemiological Metadata, HiSeq X10 Sequencing Metadata, MiSeq Sequencing Metadata, MLST, QC and Assembly Metadata. |
AMR_type | If specifying a AMR sheet, then this should be either 'acquired'(default) or 'point'. |
user_email | user email if sheet contains authentication. This may open a browser for authentication and access to Gdrive (optional) |
sleep | number of seconds to sleep after call to prevent overload of Google APIs |
sheet_list_url | The URL of a google sheet with the columns country and URL. Each URL points to a Google sheet containing URLs of spreadsheets containing the data of the type specified in type_value for the country specified in country_value |
A tibble dataframe representing the data in the Googlesheet for the type and country specified