View source: R/link_poi_naics.R
link_poi_naics | R Documentation |
Feed this function the most recent Core Places file, and it will give you back a data.table
with two columns: safegraph_place_id
and naics_code
. Saving this file is recommended. Then, provide this object to read_shop
or read_many_shop
so that you can use 'naics_code'
in the by
argument.
link_poi_naics( filename, dir = ".", exdir = dir, cleanup = FALSE, silent = FALSE )
filename |
The filename of the |
dir |
The directory that the file is in. |
exdir |
Name of the directory to unzip to. |
cleanup |
Set to |
silent |
Suppress timing messages. |
This function is DEPRECATED. It only works with the OLD Core files (and thus the continued usage of safegraph_place_id
instead of placekey
), and is superseded by the more flexible read_core()
function.
## Not run: # Core-USA-June2020-Release-CORE_POI-2020_05-2020-06-06.zip is a Core places file in the working directory poi_link <- link_poi_naics('Core-USA-June2020-Release-CORE_POI-2020_05-2020-06-06.zip') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.