You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used npi quite a bit recently, and it works very well most of the time. However, in some cases the enumeration_type() filter seems not to work. See example below.
>library(npi)
> tmp = npi_search(state="NY", postal_code = "10461", address_purpose="location", limit=1200)
1200 records requested
Requesting records 0-200...
Requesting records 200-400...
Requesting records 400-600...
Requesting records 600-800...
Requesting records 800-1000...
Requesting records 1000-1200...
>#note: there are organizational NPIs in the search
> table(tmp$enumeration_type)
Individual Organization
1056 144
>#Now try with enumeration_type filter
> tmp = npi_search(state="NY", postal_code = "10461", address_purpose="location", limit=1200, enumeration_type = "org")
1200 records requested
Requesting records 0-200...
Requesting records 200-400...
Requesting records 400-600...
Requesting records 600-800...
>#Returns empty table
> table(tmp$enumeration_type)
< table of extent 0 >
I've used
npi
quite a bit recently, and it works very well most of the time. However, in some cases theenumeration_type()
filter seems not to work. See example below.The analogous API call does return output:
https://npiregistry.cms.hhs.gov/api/?enumeration_type=NPI-2&state=NY&postal_code=10461&limit=200&version=2.1
The text was updated successfully, but these errors were encountered: