Search found 1874 matches

by Gregory Martin
March 17th, 2025, 7:54 am
Forum: Tools
Topic: Excel to Cspro automatique
Replies: 2
Views: 1855

Re: Excel to Cspro automatique

Regarding approach #1, you could: 1) Create the single CSPro DB file from Excel to CSPro. 2) Create a CSPro batch application that splits this file into multiple output files. For this you can use the setoutput function: https://www.csprousers.org/help/CSPro/setoutput_function.html The example in th...
by Gregory Martin
March 5th, 2025, 3:51 pm
Forum: Other
Topic: Batch Editing is still useful to clean a Census :?:
Replies: 1
Views: 13757

Re: Batch Editing is still useful to clean a Census :?:

I think people generally pick tools that they are familiar with. A lot of people study languages like R or Stata while getting statistics degrees, or Python for data science. If I didn't know CSPro and I knew one of those languages, I would probably edit data using the tool with which I'm familiar. ...
by Gregory Martin
February 27th, 2025, 7:34 am
Forum: Synchronization
Topic: A propros du CSWeb
Replies: 3
Views: 24515

Re: A propros du CSWeb

Malheureusement, le Census Bureau ne dispose pas d'un serveur de test CSWeb. Si vous effectuez des tests en local, vous pouvez essayer de configurer WampServer sur votre machine Windows pour effectuer le test:

https://www.csprousers.org/help/CSWeb/a ... setup.html
by Gregory Martin
February 25th, 2025, 11:35 am
Forum: Other
Topic: CSWeb: Cannot delete a dictionary when we have more than 10 dictionaries.
Replies: 8
Views: 44277

Re: CSWeb: Cannot delete a dictionary when we have more than 10 dictionaries.

You'll have to have your IT person modify the data.twig file that I've attached. Unzip that file and put the file here: templates/data.twig

Then clear the var/cache directory and it should work.
data-twig.zip
(5.58 KiB) Downloaded 692 times
by Gregory Martin
February 20th, 2025, 1:15 pm
Forum: Entry
Topic: roster issue
Replies: 2
Views: 27378

Re: roster issue

Try something like this: PROC S9B if length ( strip (S9B)) < 4 then errmsg ( 1 ); skip to SAVESTATUS_HMOD; endif ; numeric currently_entered_rows = totocc (SECTION_9_2_OWNED_LIVESTOCKS); if currently_entered_rows = maxocc (SECTION_9_2_OWNED_LIVESTOCKS) then advance to SAVESTATUS_HMOD; else advance t...
by Gregory Martin
February 20th, 2025, 12:47 pm
Forum: Synchronization
Topic: Missing data while synchronization
Replies: 1
Views: 21918

Re: Missing data while synchronization

Are you saying that you are missing cases, or only certain occurrences on a roster? We have never heard of any instances when occurrences were lost during synchronization. The only things that I can think of that might cause this are: Multiple people are collecting data for the same case, and enteri...
by Gregory Martin
February 20th, 2025, 12:42 pm
Forum: Entry
Topic: CSWeb / CSPro Dashboard
Replies: 2
Views: 19276

Re: CSWeb / CSPro Dashboard

Take a look at what the African Centre for Statistics has created: https://tech-acs.github.io/chimera-docs/docs/developer/getting-started/introduction https://github.com/tech-acs/chimera-starter-kit You may find that this dashboard, which can use CSWeb as a backend, might be suitable for your needs.
by Gregory Martin
February 20th, 2025, 12:39 pm
Forum: Entry
Topic: CSWeb configuration
Replies: 2
Views: 19787

Re: CSWeb configuration

The CSWeb documentation includes examples of setting up CSWeb on Apache or IIS: https://www.csprousers.org/help/CSWeb/introduction_to_csweb.html The Apache the instructions are most likely what you would want to follow: https://www.csprousers.org/help/CSWeb/apache_server_setup.html You can also use ...
by Gregory Martin
February 20th, 2025, 12:15 pm
Forum: Editing
Topic: Delete Notes
Replies: 1
Views: 34093

Re: Delete Notes

The ability to modify notes in CSPro logic is limited based on the three note-related functions. Here is an approach that creates a copy of the CSPro DB file, removes all notes uses SQLite, and then processes that file rather than the original file: PROC DELETE_NOTES_FF preproc // create a copy of t...
by Gregory Martin
February 20th, 2025, 11:08 am
Forum: Editing
Topic: Deleting multiple cases from CSDB file
Replies: 5
Views: 119643

Re: Deleting multiple cases from CSDB file

@htuser's application uses the case UUID, which is necessary if you have multiple cases with the same key. If the case keys that you do not want are unique, you can use the key function to simply check against the list of bad cases and then skip them: string case_key = key (DICT_NAME); if case_key i...