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
Copy file name to clipboardExpand all lines: README.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,16 +95,16 @@ The following line will get you industry information for all 4-digit NAICS indus
95
95
rc.get_industries(labellevel = 4)
96
96
```
97
97
98
-
This line will get you information for the BEA industries (this function is temporarily disabled as of 1.0.0):
98
+
This line will get you information for the NAICS industries (this function is temporarily disabled as of 1.0.0):
99
99
100
100
```
101
-
rc.get_industries(labelsource = 'BEA')
101
+
rc.get_industries(labelsource = 'NAICS')
102
102
```
103
103
104
104
Like the __get_agencies__ function, the `keyword` argument may also be used. The following code snippet will return information for all 6-digit NAICS industries with the word "fishing" in the name (this function is temporarily disabled as of 1.0.0):
@@ -161,10 +161,10 @@ Some agency series may also have data by industry. For example, under the Total
161
161
162
162
Valid values for industries include the industry codes specified in the classification system obtained by calling the __get_industries(jurisdiction)__ function.
163
163
164
-
In the example below, the series 92 (Restrictions by Agency and Industry), we can request data for the two industries 111 and 33 by the following code snippet.
164
+
In the example below, for the below series, we can request data for the two industries 111 and 33 by the following code snippet.
165
165
166
166
```
167
-
rc.get_values(series = 92, jurisdiction = 38, time = [1990, 2000], industry = [111, 33], agency = 66)
rc.get_values(series = [1,2], jurisdiction = 38, year = 2020, summary=False)
178
178
```
179
179
180
180
Alternatively, we can use the __get_document_values__ function as in the following code snippet.
181
181
182
182
```
183
-
rc.get_document_values(series = [1,2], jurisdiction = 38, date = ['2010-01-01', '2019-01-01'])
183
+
rc.get_document_values(series = [1,2], jurisdiction = 38, year = 2019)
184
184
```
185
185
186
-
Note that for document-level queries, a full date (not just the year) is often required. See the __get_series__ function for specifics by jurisdiction.
186
+
See the __get_series__ function for specifics by jurisdiction.
187
187
188
188
### Version
189
189
@@ -192,7 +192,7 @@ _This currently applies to the RegData U.S. Annual project only._
192
192
As of version 0.2.4, a version parameter can be passed to the __get_values__ function to obtained data from past versions of data (currently only for the RegData U.S. Annual project). Available versions and their associated versionIDs can be obtained by using the __get_version__ function. If no version parameter is given, the most recent version will be returned. The following code snippet will return restrictions data for the 3.2 version of RegData U.S. Annual for the years 2010 to 2019.
193
193
194
194
```
195
-
rc.get_values(series = 1, jurisdiction = 38, date = [2010, 2019], version = 1)
195
+
rc.get_values(series = 1, jurisdiction = 38, year = [2010, 2019], version = 1)
196
196
```
197
197
198
198
### Merging with Metadata
@@ -206,13 +206,13 @@ We can merge the agency data with the values data as in the code snippet below.
@@ -224,7 +224,7 @@ There are two different ways to download data retrieved from RegCensusAPI:
224
224
2. As of version 0.2.0, the __get_values__ function includes a `download` argument, which allows the user to simply download a csv of the data in the same line as the API call. See below for an example of this call.
0 commit comments