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
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ The RegCensus Python library is pip installable:
15
15
$ pip install regcensus
16
16
```
17
17
18
-
Once installed, import the library, using the following (using the `rc` alias to more easily use the library):
18
+
Once installed, import the library, using the following (use the `rc` alias to more easily use the library):
19
19
20
20
```
21
21
import regcensus as rc
@@ -102,8 +102,8 @@ The __get_values__ function is the primary function for obtaining RegData from t
102
102
* filtered (optional) - specify if poorly-performing industry results should be excluded. Default is True.
103
103
* summary (optional) - specify if summary results should be returned, instead of document-level results. Default is True.
104
104
* country (optional) - specify if all values for a country's jurisdiction ID should be returned. Default is False.
105
-
* industryType (optional): Level of NAICS industries to include, default is '3-Digit'.
106
-
* download (optional): If not False, a path location for a downloaded csv of the results.
105
+
* industryType (optional): level of NAICS industries to include. Default is '3-Digit'.
106
+
* download (optional): if not False, a path location for a downloaded csv of the results.
107
107
* verbose (optional) - value specifying how much debugging information should be printed for each function call. Higher number specifies more information, default is 0.
108
108
109
109
In the example below, we are interested in the total number of restrictions and total number of words for the US (get_jurisdictions(38)) for the period 2010 to 2019.
@@ -112,6 +112,14 @@ In the example below, we are interested in the total number of restrictions and
112
112
rc.get_values(series = [1,2], jurisdiction = 38, date = [2010, 2019])
113
113
```
114
114
115
+
### Get all Values for a Country
116
+
117
+
The `country` argument can be used to get all values for one or multiple series for a specific national jurisdiction. The following line will get you a summary of the national and state-level restriction counts for the United States from 2016 to 2019:
0 commit comments