VERY SLOW search within PRIMARY_NAME of facilities for matching text
     
    
    Usage
    frs_from_sitename(sitenames, ignore.case = TRUE, fixed = FALSE)
 
     
    
    Arguments
- sitenames
 
one or more strings in a vector, which can be regular expressions or query for exact match using fixed=TRUE
 
- ignore.case
 
logical, search is not case sensitive by default (unlike grepl() default)
 
- fixed
 
see grepl(), if set to TRUE it looks for only exact matches
 
 
    
    Value
    relevant rows of the data.table called frs, which has column names that are
"lat" "lon" "REGISTRY_ID" "PRIMARY_NAME" "NAICS" "PGM_SYS_ACRNMS"
     
    
    Examples
    # \donttest{
 # very slow
 x=frs_from_sitename
 nrow(x)
#> NULL
 head(x)
#>                                                           
#> 1 function (sitenames, ignore.case = TRUE, fixed = FALSE) 
#> 2 {                                                       
#> 3     if (!exists("frs"))                                 
#> 4         dataload_dynamic("frs")                         
#> 5     results <- list()                                   
#> 6     for (i in 1:length(sitenames)) {                    
# }