Extract an OBJECTID from a filing URL
get_object_id.RdParses the unique object ID from an IRS 990 e-file XML URL and prefixes it
with OID-.
See also
get_object_id2() for a variant that also handles the TEOS xml2 URL bases.
Examples
base <- "https://gt990datalake-rawdata.s3.amazonaws.com/EfileData/XmlFiles/"
get_object_id(paste0(base, "202301529349200315_public.xml"))
#> [1] "OID-202301529349200315"
# "OID-202301529349200315"