check_institution_names: Check and get geocodes of institutions

Description Usage Arguments Value Note Author(s)

View source: R/check_institution_names.R

Description

This function simply checks SOOS institution data against the available geocode table. If the test is passed, it then retrieves lat, lon coordinates for SOOS institution names as a data frame. If the test is failed, a "Failed" message is returned.

Usage

1
check_institution_names(institutions, institution_names_data)

Arguments

institutions

list of institution character vercors to be checked from the data file

institution_names_data

A data frame. The data frame must contain 4 columns labeled "Name" (what SOOS records the Affiliations as), "Type", "Latitude" and "Longitude". SSee example_institution_data for an example.#'

Value

If check failed returns "Failed". If check sucessfull returns institution,lat,lon and a participation count as a dataframe

Note

v.0.1

Author(s)

Kimberlee Baldry


KimBaldry/mapSOOSWG documentation built on March 13, 2021, 6:57 p.m.